Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,018 for Allocate (0.14 sec)

  1. pilot/pkg/xds/nds_test.go

    	dnsProto "istio.io/istio/pkg/dns/proto"
    )
    
    func TestNDS(t *testing.T) {
    	cases := []struct {
    		name     string
    		meta     model.NodeMetadata
    		expected *dnsProto.NameTable
    	}{
    		{
    			name: "auto allocate",
    			meta: model.NodeMetadata{
    				DNSCapture:      true,
    				DNSAutoAllocate: true,
    			},
    			expected: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"random-1.host.example": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/runtime/os_darwin.go

    //go:nosplit
    //go:nowritebarrierrec
    func libpreinit() {
    	initsig(true)
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // OS X wants >= 8K
    	mp.gsignal.m = mp
    	if GOOS == "darwin" && GOARCH == "arm64" {
    		// mlock the signal stack to work around a kernel bug where it may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/controller/repair_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	previous.Allocate(netutils.ParseIPSloppy("192.168.1.10"))
    
    	_, secondaryCIDR, _ := netutils.ParseCIDRSloppy("2000::/108")
    	secondaryPrevious, err := ipallocator.NewInMemory(secondaryCIDR)
    	if err != nil {
    		t.Fatal(err)
    	}
    	secondaryPrevious.Allocate(netutils.ParseIPSloppy("2000::1"))
    
    	var dst api.RangeAllocation
    	err = previous.Snapshot(&dst)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. pkg/volume/util/selinux.go

    		// and all options returned by contextOptions are known.
    		return "", err
    	}
    	// InitLabels() may allocate a new unique SELinux label in kubelet memory. The label is *not* allocated
    	// in the container runtime. Clear it to avoid memory problems.
    	// ReleaseLabel on non-allocated label is NOOP.
    	selinux.ReleaseLabel(processLabel)
    
    	return fileLabel, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 14:40:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/runtime/os_netbsd.go

    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	gp := getg()
    	gp.m.procid = uint64(lwp_self())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    		//   panicking with ErrAbortHandler also suppresses logging of a stack trace to the server's error log.
    		return
    	}
    
    	// Same as stdlib http server code. Manually allocate stack trace buffer size
    	// to prevent excessively large logs
    	const size = 64 << 10
    	stacktrace := make([]byte, size)
    	stacktrace = stacktrace[:runtime.Stack(stacktrace, false)]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/c/tf_tensor.h

    // memory alignment preferences.
    TF_CAPI_EXPORT extern size_t TF_TensorDefaultAlignment();
    
    // Allocate and return a new Tensor.
    //
    // This function is an alternative to TF_NewTensor and should be used when
    // memory is allocated to pass the Tensor to the C API. The allocated memory
    // satisfies TensorFlow's memory alignment preferences and should be preferred
    // over calling malloc and free.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/runtime/os_plan9.go

    	}
    	if neg {
    		n = -n
    	}
    	return n
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	// Initialize stack and goroutine for note handling.
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/stackalloc.go

    			}
    
    			if names[v.ID] == empty {
    				if f.pass.debug > stackDebug {
    					fmt.Printf("stackalloc value %s to name %s\n", v, *name)
    				}
    				names[v.ID] = *name
    			}
    		}
    	}
    
    	// Allocate args to their assigned locations.
    	for _, v := range f.Entry.Values {
    		if !hasAnyArgOp(v) {
    			continue
    		}
    		if v.Aux == nil {
    			f.Fatalf("%s has nil Aux\n", v.LongString())
    		}
    		if v.Op == OpArg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

                            } catch (IOException e) {
                                return
                            }
                            try {
                                connection.read(ByteBuffer.allocate(4096))
                                connection.write(ByteBuffer.wrap("hello".bytes))
                            } finally {
                                connection.close()
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top