Inheritance: System.Web.UI.Page
Beispiel #1
0
 private static (@string, error) cacheDir(@string path)
 {
     @string _p0 = default;
     error   _p0 = default !;
Beispiel #2
0
 public cached(Repo repo = default, error err = default)
 {
     this.repo = repo;
     this.err  = err;
 }
Beispiel #3
0
 private static (slice <ptr <plugin.Sym> >, error) findSymbols(slice <byte> syms, @string file, ptr <regexp.Regexp> _addr_r, ulong address)
 {
     slice <ptr <plugin.Sym> > _p0 = default;
     error             _p0         = default !;
Beispiel #4
0
 public static (long, error) EpollCreate(long size)
 {
     long  fd  = default;
     error err = default !;
Beispiel #5
0
 private static (slice <@string>, error) listGroups(ptr <User> _addr_u)
 {
     slice <@string> _p0 = default;
     error           _p0 = default !;
Beispiel #6
0
 // sendFile copies the contents of r to c using the sendfile
 // system call to minimize copies.
 //
 // if handled == true, sendFile returns the number of bytes copied and any
 // non-EOF error.
 //
 // if handled == false, sendFile performed no work.
 private static (long, error, bool) sendFile(ptr <netFD> _addr_c, io.Reader r)
 {
     long      written = default;
     error     err     = default !;
Beispiel #7
0
 // FcntlInt performs a fcntl syscall on fd with the provided command and argument.
 public static (long, error) FcntlInt(System.UIntPtr fd, long cmd, long arg)
 {
     long  _p0 = default;
     error _p0 = default !;
Beispiel #8
0
 public Call(@string ServiceMethod = default, error Error = default, channel <ptr <Call> > Done = default)
 {
     this.ServiceMethod = ServiceMethod;
     this.Error         = Error;
     this.Done          = Done;
 }
Beispiel #9
0
 private static (Message, error) parseInterfaceMessage(this ptr <wireFormat> _addr__p0, RIBType _, slice <byte> b)
 {
     Message        _p0 = default;
     error          _p0 = default !;
Beispiel #10
0
 public notExistError(error err = default)
 {
     this.err = err;
 }
Beispiel #11
0
 public scanError(error err = default)
 {
     this.err = err;
 }
Beispiel #12
0
 public RouteMessage(long Version = default, long Type = default, long Flags = default, long Index = default, System.UIntPtr ID = default, long Seq = default, error Err = default, slice <Addr> Addrs = default, long extOff = default, slice <byte> raw = default)
 {
     this.Version = Version;
     this.Type    = Type;
     this.Flags   = Flags;
     this.Index   = Index;
     this.ID      = ID;
     this.Seq     = Seq;
     this.Err     = Err;
     this.Addrs   = Addrs;
     this.extOff  = extOff;
     this.raw     = raw;
 }
 public ActionResult ErrorCreate(error error)
 {
     if (ModelState.IsValid)
     {
         var er = db.dt_error.Where(a => a.state == 1 && a.errorName == error.name && a.user_id == error.user_id && a.category_id == error.category_id).FirstOrDefault();
         if (er == null)
         {
             db.dt_error.AddObject(new dt_error
             {
                 errorKod=error.errorKod,
                 errorContent = error.content,
                 errorKeys = error.keyWords,
                 errorName = error.name,
                 category_id = error.category_id,
                 user_id = error.user_id,
                 date = error.date,
                 state = 1
             });
             db.SaveChanges();
             return RedirectToAction("ErrorCreate", new { mesaj = 1 });
         }
         else
             return RedirectToAction("ErrorCreate", new { mesaj = 0 });
     }
     else
         return RedirectToAction("ErrorCreate");
 }
Beispiel #14
0
                            // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

                            private static error fanotifyMark(long fd, ulong flags, ulong mask, long dirFd, ptr <byte> _addr_pathname)
                            {
                                error    err      = default !;
Beispiel #15
0
 public ModuleError(@string Path = default, @string Version = default, error Err = default)
 {
     this.Path    = Path;
     this.Version = Version;
     this.Err     = Err;
 }
 public ActionResult ErrorEdit(error error)
 {
     var er = db.dt_error.Where(a => a.ID != error.ID && a.errorName == error.name && a.errorKod == error.errorKod && a.state == 1).FirstOrDefault();
     if (er == null)
     {
         er = db.dt_error.Where(a => a.ID == error.ID && a.state == 1).FirstOrDefault();
         if (er != null)
         {
             er.errorKod = error.errorKod;
             er.errorName = error.name;
             er.errorKeys = error.keyWords;
             er.errorContent = error.content;
             er.date = error.date;
             er.user_id = error.user_id;
             er.category_id = error.category_id;
             db.SaveChanges();
             return RedirectToAction("ErrorEdit", new { ID = error.ID, mesaj = 1 });
         }
         else
             return RedirectToAction("ErrorShow");
     }
     else
         return RedirectToAction("ErrorEdit", new { ID = error.ID, mesaj = 0 });
 }
Beispiel #17
0
 public localError(error err = default)
 {
     this.err = err;
 }
Beispiel #18
0
 private static (System.UIntPtr, error) open(@string name)
 {
     System.UIntPtr _p0 = default;
     error          _p0 = default !;
Beispiel #19
0
 //sys    closedir(dir uintptr) (err error)
 //sys    readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
 private static (System.UIntPtr, error) fdopendir(long fd)
 {
     System.UIntPtr dir = default;
     error          err = default !;
Beispiel #20
0
 public gobError(error err = default)
 {
     this.err = err;
 }
Beispiel #21
0
 // Translate "kern.hostname" to []_C_int{0,1,2,3}.
 private static (slice <_C_int>, error) nametomib(@string name)
 {
     slice <_C_int> mib = default;
     error          err = default !;
Beispiel #22
0
 public encoder(ref ptr <Encoder> enc = default, io.Writer w = default, image.Image m = default, long cb = default, error err = default, array <byte> header = default, array <byte> footer = default, array <byte> tmp = default, array <slice <byte> > cr = default, slice <byte> pr = default, ref ptr <zlib.Writer> zw = default, long zwLevel = default, ref ptr <bufio.Writer> bw = default)
 {
     this.enc     = enc;
     this.w       = w;
     this.m       = m;
     this.cb      = cb;
     this.err     = err;
     this.header  = header;
     this.footer  = footer;
     this.tmp     = tmp;
     this.cr      = cr;
     this.pr      = pr;
     this.zw      = zw;
     this.zwLevel = zwLevel;
     this.bw      = bw;
 }
Beispiel #23
0
 public DNSConfigError(error Err = default)
 {
     this.Err = Err;
 }
Beispiel #24
0
 // adapterAddresses returns a list of IP adapter and address
 // structures. The structure contains an IP adapter and flattened
 // multiple IP addresses including unicast, anycast and multicast
 // addresses.
 private static (slice <ptr <windows.IpAdapterAddresses> >, error) adapterAddresses()
 {
     slice <ptr <windows.IpAdapterAddresses> > _p0 = default;
     error _p0 = default !;
 public UnknownAuthorityError(ref ptr <Certificate> Cert = default, error hintErr = default, ref ptr <Certificate> hintCert = default)
 {
     this.Cert     = Cert;
     this.hintErr  = hintErr;
     this.hintCert = hintCert;
 }
 public bodyEOFSignal(io.ReadCloser body = default, sync.Mutex mu = default, bool closed = default, error rerr = default, Func <error, error> fn = default, Func <error> earlyCloseFn = default)
 {
     this.body         = body;
     this.mu           = mu;
     this.closed       = closed;
     this.rerr         = rerr;
     this.fn           = fn;
     this.earlyCloseFn = earlyCloseFn;
 }
Beispiel #27
0
 public SyscallError(@string Syscall = default, error Err = default)
 {
     this.Syscall = Syscall;
     this.Err     = Err;
 }
Beispiel #28
0
 public S0(error error = default)
 {
     this.error = error;
 }
Beispiel #29
0
 public cached(slice <module.Version> list = default, error err = default)
 {
     this.list = list;
     this.err  = err;
 }
Beispiel #30
0
 /// <summary>
 ///  CloseWithError closes the reader; subsequent writes to the write half of the pipe will return the error err.
 ///  CloseWithError never overwrites the previous error if it exists and always returns nil.
 /// </summary>
 public error CloseWithError(error err)
 {
     return(error.Nil);
 }
Beispiel #31
0
 private static (@string, long, error) readGopackHeader(ptr <bufio.Reader> _addr_r)
 {
     @string          name = default;
     long             size = default;
     error            err  = default !;
Beispiel #32
0
 private static (long, error) cgoNameinfoPTR(slice <byte> b, ptr <C.struct_sockaddr> _addr_sa, C.socklen_t salen)
 {
     long  _p0 = default;
     error _p0 = default !;
 public void AddError(error f)
 {
     errorField.Add(f);
 }