Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Allocate (0.2 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Equal(1, len(testManager.endpoints))
    
    	// Stops resourceName2 endpoint. Verifies its stopTime is set, allocate and
    	// preStartContainer calls return errors.
    	e2.client.Disconnect()
    	as.False(e2.stopTime.IsZero())
    	_, err = e2.allocate([]string{"Device1"})
    	reflect.DeepEqual(err, fmt.Errorf(errEndpointStopped, e2))
    	_, err = e2.preStartContainer([]string{"Device1"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	if err != nil {
    		return ObjectInfo{}, toObjectErr(err, minioMetaBucket, key)
    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (throwable != null) {
            return new Failure(throwable);
          }
        }
        boolean wasCancelled = future.isCancelled();
        // Don't allocate a CancellationException if it's not necessary
        if (!GENERATE_CANCELLATION_CAUSES & wasCancelled) {
          /*
           * requireNonNull is safe because we've initialized CAUSELESS_CANCELLED if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (throwable != null) {
            return new Failure(throwable);
          }
        }
        boolean wasCancelled = future.isCancelled();
        // Don't allocate a CancellationException if it's not necessary
        if (!GENERATE_CANCELLATION_CAUSES & wasCancelled) {
          /*
           * requireNonNull is safe because we've initialized CAUSELESS_CANCELLED if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  5. src/cmd/compile/internal/ssa/debug.go

    	var cloReg int16
    
    	extraForCloCtx := 0
    	if needCloCtx {
    		extraForCloCtx = 1
    	}
    
    	// Allocate location lists.
    	rval.LocationLists = make([][]byte, numRegParams+extraForCloCtx)
    
    	// Locate the value corresponding to the last spill of
    	// an input register.
    	afterPrologVal, cloRegStore := locatePrologEnd(f, needCloCtx)
    
    	if needCloCtx {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. cluster/gce/windows/k8s-node-setup.psm1

      return $gateway
    }
    
    # Get pod IP range start based (the third address) on pod cidr
    # We reserve the first two in the cidr range for gateways. Start the cidr
    # range from the third so that IPAM does not allocate those IPs to pods.
    function Get_PodIP_Range_Start([string] $cidr) {
      $network=Get_NetworkDecimal_From_CIDR($cidr)
      $start=ConvertTo_DottedDecimalIP($network+3)
      return $start
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	src := unsafe.Slice((*byte)(unsafe.Pointer(selfRelativeSD)), sdLen)
    	// SECURITY_DESCRIPTOR has pointers in it, which means checkptr expects for it to
    	// be aligned properly. When we're copying a Windows-allocated struct to a
    	// Go-allocated one, make sure that the Go allocation is aligned to the
    	// pointer size.
    	const psize = int(unsafe.Sizeof(uintptr(0)))
    	alloc := make([]uintptr, (sdLen+psize-1)/psize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    	}{
    		{
    			name:                      "egress tcp with auto allocated address",
    			services:                  services,
    			sidecar:                   sidecarConfig,
    			numListenersOnServicePort: 1,
    			useAutoAllocatedAddress:   true,
    		},
    		{
    			name:                      "egress tcp and port with auto allocated address",
    			services:                  services,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    		}
    		// Only switch if we need a newer toolchain.
    		// Otherwise leave the cs.err for reporting later.
    		if sw.NeedSwitch() {
    			sw.Switch(ctx)
    			// If NeedSwitch is true and Switch returns, Switch has failed to locate a newer toolchain.
    			// It printed the errors along with one more about not finding a good toolchain.
    			base.Exit()
    		}
    
    		for _, q := range queries {
    			unresolved := q.candidates[:0]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top