Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 314 for Allocate (0.15 sec)

  1. src/syscall/exec_unix.go

    // descriptors close-on-exec and then, in the child, explicitly
    // unmark the ones we want the exec'ed program to keep.
    // Unix doesn't make this easy: there is, in general, no way to
    // allocate a new file descriptor close-on-exec. Instead you
    // have to allocate the descriptor and then mark it close-on-exec.
    // If a fork happens between those two events, the child's exec
    // will inherit an unwanted file descriptor.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/WindowsOsMemoryInfo.java

                    // Note: the commit limit is usually less than the hard limit of the commit peak, but I think it would be prudent
                    // for us to not force the user's OS to allocate more page file space, so we'll use the commit limit here.
                    windowsMemoryInfo.getCommitLimit(), availableCommitMemory(windowsMemoryInfo)
                );
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd.go

    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	gsignalSize := int32(32 * 1024)
    	if GOARCH == "mips64" {
    		gsignalSize = int32(64 * 1024)
    	}
    	mp.gsignal = malg(gsignalSize)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, can not allocate memory.
    func minit() {
    	getg().m.procid = uint64(getthrid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseRegistry.java

    package org.gradle.internal.work;
    
    import org.gradle.internal.resources.ResourceLock;
    
    /**
     * Used to obtain and release worker leases to run work. There are a limited number of leases available and this service is used to allocate these to worker threads.
     *
     * Used where the operation cannot be packaged as a unit of work, for example when the operation is started and completed in response to separate
     * events.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/runtime/mklockrank.go

    traceBuf < traceStrings;
    
    # Malloc
    allg,
      allocmR,
      allp, # procresize
      execR, # May grow stack
      execW, # May allocate after BeforeFork
      hchan,
      notifyList,
      reflectOffs,
      timer,
      traceStrings,
      userArenaState
    # Above MALLOC are things that can allocate memory.
    < MALLOC
    # Below MALLOC is the malloc implementation.
    < fin,
      spanSetSpine,
      mspanSpecial,
      traceTypeTab,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	}
    	if !store.allocateNeeded {
    		t.Errorf("expected allocate needed")
    	}
    	store.allocateNeeded = false
    	store.deleteServices(httpDNSRR.NamespacedName())
    	got = store.getAllServices()
    	if len(got) != 0 {
    		t.Errorf("got unexpected services %v", got)
    	}
    	if store.allocateNeeded {
    		t.Errorf("expected no allocate needed")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_linux_amd64.c

    	   clang before 3.8.  The test for this is
    	   misc/cgo/testsanitizers.
    
    	   GCC works hard to eliminate a seemingly unnecessary call to
    	   malloc, so we actually use the memory we allocate.  */
    
    	setg_gcc = setg;
    	pbounds = (uintptr*)malloc(2 * sizeof(uintptr));
    	if (pbounds == NULL) {
    		fatalf("malloc failed: %s", strerror(errno));
    	}
    	_cgo_set_stacklo(g, pbounds);
    	free(pbounds);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/c/tf_buffer.cc

      }
      const size_t proto_size = in.ByteSizeLong();
      void* buf = port::Malloc(proto_size);
      if (buf == nullptr) {
        return tensorflow::errors::ResourceExhausted(
            "Failed to allocate memory to serialize message of type '",
            in.GetTypeName(), "' and size ", proto_size);
      }
      if (!in.SerializeWithCachedSizesToArray(static_cast<uint8_t*>(buf))) {
        port::Free(buf);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_linux_arm64.c

    	   clang before 3.8.  The test for this is
    	   misc/cgo/testsanitizers.
    
    	   GCC works hard to eliminate a seemingly unnecessary call to
    	   malloc, so we actually use the memory we allocate.  */
    
    	setg_gcc = setg;
    	pbounds = (uintptr*)malloc(2 * sizeof(uintptr));
    	if (pbounds == NULL) {
    		fatalf("malloc failed: %s", strerror(errno));
    	}
    	_cgo_set_stacklo(g, pbounds);
    	free(pbounds);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // resources, all of which will be considered when allocating a CIDR for a
    // Node.  A ClusterCIDR is eligible to be used for a given Node when the node
    // selector matches the node in question and has free CIDRs to allocate.  In
    // case of multiple matching ClusterCIDR resources, the allocator will attempt
    // to break ties using internal heuristics, but any ClusterCIDR whose node
    // selector matches the Node may be used.
    message ClusterCIDR {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top