Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,017 for Allocate (0.46 sec)

  1. src/internal/filepathlite/path.go

    	"slices"
    )
    
    var errInvalidPath = errors.New("invalid path")
    
    // A lazybuf is a lazily constructed path buffer.
    // It supports append, reading previously appended bytes,
    // and retrieving the final string. It does not allocate a buffer
    // to hold the output until that output diverges from s.
    type lazybuf struct {
    	path       string
    	buf        []byte
    	w          int
    	volAndPath string
    	volLen     int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/unique/handle.go

    		// this path on the first use of Make, and it's not on the hot path.
    		setupMake.Do(registerCleanup)
    		ma = addUniqueMap[T](typ)
    	}
    	m := ma.(*uniqueMap[T])
    
    	// Keep around any values we allocate for insertion. There
    	// are a few different ways we can race with other threads
    	// and create values that we might discard. By keeping
    	// the first one we make around, we can avoid generating
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/container_manager.go

    	// extended resources required by container.
    	GetResources(pod *v1.Pod, container *v1.Container) (*kubecontainer.RunContainerOptions, error)
    
    	// UpdatePluginResources calls Allocate of device plugin handler for potential
    	// requests for device plugin resources, and returns an error if fails.
    	// Otherwise, it updates allocatableResource in nodeInfo if necessary,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_386.s

    	// wintime*100 = DX:AX
    	MOVL	AX, ret_lo+0(FP)
    	MOVL	DX, ret_hi+4(FP)
    	RET
    
    // This is called from rt0_go, which runs on the system stack
    // using the initial stack allocated by the OS.
    TEXT runtime·wintls(SB),NOSPLIT,$0
    	// Allocate a TLS slot to hold g across calls to external code
    	MOVL	SP, BP
    	MOVL	runtime·_TlsAlloc(SB), AX
    	CALL	AX
    	MOVL	BP, SP
    
    	MOVL	AX, CX	// TLS index
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. pkg/dns/server/name_table.go

    				continue
    			}
    			addressList = append(addressList, svcAddress)
    		} else {
    			// The IP will be unspecified here if its headless service or if the auto
    			// IP allocation logic for service entry was unable to allocate an IP.
    			if svc.Resolution == model.Passthrough && len(svc.Ports) > 0 {
    				for _, instance := range cfg.Push.ServiceEndpointsByPort(svc, svc.Ports[0].Port, nil) {
    					// empty addresses are possible here
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    //
    // Allocation occurs normally until we reach (3) and we realize we have
    // a use of v and it isn't in any register. At that point, we allocate
    // a spill (a StoreReg) for v. We can't determine the correct place for
    // the spill at this point, so we allocate the spill as blockless initially.
    // The restore is then generated to load v back into a register so it can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/StatsTest.java

      }
    
      public void testFromByteArray_withTooLongArrayInputThrowsIllegalArgumentException() {
        byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      SP_PlatformFns platform_fns_;
      SP_DeviceFns device_fns_;
      SP_StreamExecutor se_;
      SP_TimerFns timer_fns_;
      std::unique_ptr<CPlatform> cplatform_;
    };
    
    TEST_F(StreamExecutorTest, Allocate) {
      se_.allocate = [](const SP_Device* const device, uint64_t size,
                        int64_t memory_space, SP_DeviceMemoryBase* const mem) {
        mem->struct_size = SP_DEVICE_MEMORY_BASE_STRUCT_SIZE;
        mem->opaque = malloc(size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/runtime/sys_windows_arm64.s

    	MOVD	$100, R1
    	MUL	R1, R0
    	MOVD	R0, ret+0(FP)
    	RET
    
    // This is called from rt0_go, which runs on the system stack
    // using the initial stack allocated by the OS.
    // It calls back into standard C using the BL below.
    TEXT runtime·wintls(SB),NOSPLIT,$0
    	// Allocate a TLS slot to hold g across calls to external code
    	MOVD	runtime·_TlsAlloc(SB), R0
    	SUB	$16, RSP	// skip over saved frame pointer below RSP
    	BL	(R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top