Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for setlkw (0.15 sec)

  1. src/reflect/all_test.go

    	vs := ValueOf(&xs).Elem()
    	shouldPanic("SetLen", func() { vs.SetLen(10) })
    	shouldPanic("SetCap", func() { vs.SetCap(10) })
    	shouldPanic("SetLen", func() { vs.SetLen(-1) })
    	shouldPanic("SetCap", func() { vs.SetCap(-1) })
    	shouldPanic("SetCap", func() { vs.SetCap(6) }) // smaller than len
    	vs.SetLen(5)
    	if len(xs) != 5 || cap(xs) != 8 {
    		t.Errorf("after SetLen(5), len, cap = %d, %d, want 5, 8", len(xs), cap(xs))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	F_GETLK64                        = 0x5
    	F_GETOWN                         = 0x9
    	F_RDLCK                          = 0x0
    	F_SETLK                          = 0x6
    	F_SETLK64                        = 0x6
    	F_SETLKW                         = 0x7
    	F_SETLKW64                       = 0x7
    	F_SETOWN                         = 0x8
    	F_UNLCK                          = 0x2
    	F_WRLCK                          = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	F_GETLK64                        = 0x5
    	F_GETOWN                         = 0x9
    	F_RDLCK                          = 0x0
    	F_SETLK                          = 0x6
    	F_SETLK64                        = 0x6
    	F_SETLKW                         = 0x7
    	F_SETLKW64                       = 0x7
    	F_SETOWN                         = 0x8
    	F_UNLCK                          = 0x2
    	F_WRLCK                          = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	F_GETLK64                        = 0xc
    	F_GETOWN                         = 0x9
    	F_RDLCK                          = 0x0
    	F_SETLK                          = 0xd
    	F_SETLK64                        = 0xd
    	F_SETLKW                         = 0xe
    	F_SETLKW64                       = 0xe
    	F_SETOWN                         = 0x8
    	F_UNLCK                          = 0x2
    	F_WRLCK                          = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    		Op:   int32(req),
    		Offs: offs,
    	}
    	if countin > 0 {
    		_ = out[:countin] // check bounds
    		ioDesc.Addr = &out[0]
    	} else if out != nil {
    		ioDesc.Addr = (*byte)(unsafe.Pointer(&_zero))
    	}
    	ioDesc.SetLen(countin)
    
    	err = ptracePtr(PT_IO, pid, unsafe.Pointer(&ioDesc), 0)
    	return int(ioDesc.Len), err
    }
    
    func PtraceLwpEvents(pid int, enable int) (err error) {
    	return ptrace(PT_LWP_EVENTS, pid, 0, enable)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteAMD64.go

    }
    func rewriteValueAMD64_OpAMD64SETLE(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (SETLE (InvertFlags x))
    	// result: (SETGE x)
    	for {
    		if v_0.Op != OpAMD64InvertFlags {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpAMD64SETGE)
    		v.AddArg(x)
    		return true
    	}
    	// match: (SETLE (FlagEQ))
    	// result: (MOVLconst [1])
    	for {
    		if v_0.Op != OpAMD64FlagEQ {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
            }
    
            if (mojo instanceof Mojo) {
                Logger mojoLogger = LoggerFactory.getLogger(mojoDescriptor.getImplementation());
                ((Mojo) mojo).setLog(new MojoLogWrapper(mojoLogger));
            }
    
            if (mojo instanceof Contextualizable) {
                pluginValidationManager.reportPluginMojoValidationIssue(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. src/syscall/zerrors_solaris_amd64.go

    	F_SETFD                       = 0x2
    	F_SETFL                       = 0x4
    	F_SETLK                       = 0x6
    	F_SETLK64                     = 0x6
    	F_SETLK64_NBMAND              = 0x2a
    	F_SETLKW                      = 0x7
    	F_SETLKW64                    = 0x7
    	F_SETLK_NBMAND                = 0x2a
    	F_SETOWN                      = 0x18
    	F_SHARE                       = 0x28
    	F_SHARE_NBMAND                = 0x2b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	F_GETLK                  = 5
    	F_GETOWN                 = 10
    	F_OK                     = 0x0
    	F_RDLCK                  = 1
    	F_SETFD                  = 2
    	F_SETFL                  = 4
    	F_SETLK                  = 6
    	F_SETLKW                 = 7
    	F_SETOWN                 = 11
    	F_SETTAG                 = 12
    	F_UNLCK                  = 3
    	F_WRLCK                  = 2
    	FSTYPE_ZFS               = 0xe9 //"Z"
    	FSTYPE_HFS               = 0xc8 //"H"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top