Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for setlkw (0.22 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	var err error
    	if errno != 0 {
    		err = errno
    	}
    	return int(valptr), err
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    	if e1 != 0 {
    		return e1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  2. scan.go

    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    						reflectValue.SetLen(0)
    						db.Statement.ReflectValue.Set(reflectValue)
    					}
    				}
    			}
    
    			for initialized || rows.Next() {
    			BEGIN:
    				initialized = false
    
    				if update {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/encoding/gob/decode.go

    			// whichever is less.
    			ln = value.Cap()
    			if ln > n {
    				ln = n
    			}
    			value.SetLen(ln)
    			sub := value.Slice(i, ln)
    			if _, err := state.b.Read(sub.Bytes()); err != nil {
    				errorf("error decoding []byte at %d: %s", i, err)
    			}
    			i = ln
    		}
    	} else {
    		value.SetLen(n)
    		if _, err := state.b.Read(value.Bytes()); err != nil {
    			errorf("error decoding []byte: %s", err)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    				break SuffixLoop
    			}
    		}
    	}
    
    	if needSuffix {
    		switch inst.Op {
    		case CMPXCHG8B, FLDCW, FNSTCW, FNSTSW, LDMXCSR, LLDT, LMSW, LTR, PCLMULQDQ,
    			SETA, SETAE, SETB, SETBE, SETE, SETG, SETGE, SETL, SETLE, SETNE, SETNO, SETNP, SETNS, SETO, SETP, SETS,
    			SLDT, SMSW, STMXCSR, STR, VERR, VERW:
    			// For various reasons, libopcodes emits no suffix for these instructions.
    
    		case CRC32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (v <type 1>) SetBytes (x <type 56 [] <type -20>>);
     func (v <type 1>) SetComplex (x <type -18>);
     func (v <type 1>) SetFloat (x <type -10>);
     func (v <type 1>) SetInt (x <type -4>);
     func (v <type 1>) SetLen (n <type -11>);
     func (v <type 1>) SetMapIndex (key <type 1>, val <type 1>);
     func (v <type 1>) SetUint (x <type -8>);
     func (v <type 1>) SetPointer (x <type 7>);
     func (v <type 1>) SetString (x <type -16>);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "SETNE", argLength: 1, reg: readflags, asm: "SETNE"}, // extract != condition from arg0
    		{name: "SETL", argLength: 1, reg: readflags, asm: "SETLT"},  // extract signed < condition from arg0
    		{name: "SETLE", argLength: 1, reg: readflags, asm: "SETLE"}, // extract signed <= condition from arg0
    		{name: "SETG", argLength: 1, reg: readflags, asm: "SETGT"},  // extract signed > condition from arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
    	return fcntl(int(fd), cmd, arg)
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntlPtr(int(fd), cmd, unsafe.Pointer(lk))
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. src/encoding/json/decode.go

    			break
    		}
    
    		// Expand slice length, growing the slice if necessary.
    		if v.Kind() == reflect.Slice {
    			if i >= v.Cap() {
    				v.Grow(1)
    			}
    			if i >= v.Len() {
    				v.SetLen(i + 1)
    			}
    		}
    
    		if i < v.Len() {
    			// Decode into element.
    			if err := d.value(v.Index(i)); err != nil {
    				return err
    			}
    		} else {
    			// Ran out of fixed array: skip.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	i := c.Index()
    	if i < 0 {
    		panic("Delete node not contained in slice")
    	}
    	v := c.field()
    	l := v.Len()
    	reflect.Copy(v.Slice(i, l), v.Slice(i+1, l))
    	v.Index(l - 1).Set(reflect.Zero(v.Type().Elem()))
    	v.SetLen(l - 1)
    	c.iter.step--
    }
    
    // InsertAfter inserts n after the current Node in its containing slice.
    // If the current Node is not part of a slice, InsertAfter panics.
    // Apply does not walk n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	F_GETLK64                        = 0xe
    	F_GETOWN                         = 0x17
    	F_RDLCK                          = 0x0
    	F_SETLK                          = 0x6
    	F_SETLK64                        = 0x6
    	F_SETLKW                         = 0x7
    	F_SETLKW64                       = 0x7
    	F_SETOWN                         = 0x18
    	F_UNLCK                          = 0x2
    	F_WRLCK                          = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top