Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,126 for makeID (0.15 sec)

  1. src/runtime/chan_test.go

    	if runtime.GOOS == "linux" && runtime.GOARCH == "ppc64le" {
    		testenv.SkipFlaky(t, 22047)
    	}
    	c1 := make(chan byte, trials+1)
    	c2 := make(chan byte, trials+1)
    	for i := 0; i < trials+1; i++ {
    		c1 <- 1
    		c2 <- 2
    	}
    	c3 := make(chan byte)
    	c4 := make(chan byte)
    	out := make(chan byte)
    	done := make(chan byte)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for {
    			var b byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/conntrack_test.go

    	for _, tc := range testCases {
    		ct := makeCT(success)
    		if err := ct.ClearEntriesForIP(tc.ip, v1.ProtocolUDP); err != nil {
    			t.Errorf("%s/success: Unexpected error: %v", tc.name, err)
    		}
    		execCommand := ct.getExecutedCommand()
    		if tc.expectCommand != execCommand {
    			t.Errorf("%s/success: Expect command: %s, but executed %s", tc.name, tc.expectCommand, execCommand)
    		}
    
    		ct = makeCT(nothingToDelete)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho_update_uuid.go

    // particular) appear to compute the UUID based not just on the
    // content of the object files being linked but also on things like
    // the timestamps/paths of the objects; this makes it
    // difficult/impossible to support reproducible builds. Since we try
    // hard to maintain build reproducibility for Go, the APIs here
    // compute a new UUID (based on the Go build ID) and write it to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/time/tick_test.go

    	}
    
    	tim.Stop()
    	drainAsync()
    	noTick()
    
    	// Again using select and with two goroutines waiting.
    	tim.Reset(10000 * Second)
    	drainAsync()
    	done = make(chan bool, 2)
    	done1 := make(chan bool)
    	done2 := make(chan bool)
    	stop := make(chan bool)
    	go func() {
    		select {
    		case <-C:
    			done <- true
    		case <-stop:
    		}
    		close(done1)
    	}()
    	go func() {
    		select {
    		case <-C:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32.go

    	// https://dx.doi.org/10.1109/DSN.2002.1028931
    	Koopman = 0xeb31d82e
    )
    
    // Table is a 256-word table representing the polynomial for efficient processing.
    type Table [256]uint32
    
    // This file makes use of functions implemented in architecture-specific files.
    // The interface that they implement is as follows:
    //
    //    // archAvailableIEEE reports whether an architecture-specific CRC32-IEEE
    //    // algorithm is available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_use_cases.adoc

    There are for example annotation processors that do not clean up stale files in the corresponding classes/resources directories.
    The cache is a great forcing function to fix these problems, which will also make your incremental builds much more reliable.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. src/compress/bzip2/huffman.go

    	// We keep the codes packed into a uint32, at the most-significant end.
    	// So branches are taken from the MSB downwards. This makes it easy to
    	// sort them later.
    	code := uint32(0)
    	length := uint8(32)
    
    	codes := make([]huffmanCode, len(lengths))
    	for i := len(pairs) - 1; i >= 0; i-- {
    		if length > pairs[i].length {
    			length = pairs[i].length
    		}
    		codes[i].code = code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/internal/bytealg/bytealg.go

    		h *= PrimeRK
    		h += uint32(s[i])
    		h -= pow * uint32(s[i+n])
    		if h == hashss && string(s[i:i+n]) == string(sep) {
    			return i
    		}
    	}
    	return -1
    }
    
    // MakeNoZero makes a slice of length n and capacity of at least n Bytes
    // without zeroing the bytes (including the bytes between len and cap).
    // It is the caller's responsibility to ensure uninitialized bytes
    // do not leak to the end user.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/discovery/file/file.go

    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
    )
    
    // RetrieveValidatedConfigInfo connects to the API Server and makes sure it can talk
    // securely to the API Server using the provided CA cert and
    // optionally refreshes the cluster-info information from the cluster-info ConfigMap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/net/tcpsock_test.go

    		t.Fatal(err)
    	}
    	defer r.Close()
    
    	errc2 := make(chan error, 1)
    	defer func() {
    		if err := <-errc2; err != nil {
    			t.Error(err)
    		}
    	}()
    
    	defer w.Close()
    
    	go func() {
    		_, err := io.Copy(c, r)
    		errc2 <- err
    	}()
    
    	// Split write into 2 packets. That makes Windows TransmitFile
    	// drop second packet.
    	packet := make([]byte, 1)
    	_, err = w.Write(packet)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top