Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 5,185 for makeID (0.11 sec)

  1. src/net/fd_windows.go

    		isloopback = ra.Addr[0] == 127
    	case *syscall.SockaddrInet6:
    		isloopback = ra.Addr == [16]byte(IPv6loopback)
    	default:
    		panic("unexpected type in connect")
    	}
    	if isloopback {
    		// This makes ConnectEx() fails faster if the target port on the localhost
    		// is not reachable, instead of waiting for 2s.
    		params := windows.TCP_INITIAL_RTO_PARAMETERS{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/ClassPathToClassLoaderCache.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * A cache which caches classloaders based on their classpath. This cache provides bridging with the classloader cleanup mechanism which makes it more complex than it should: - class loaders can be
     * reused, so they *must not* be cleared as long as a cached loader is in cache - once a classloader is discarded from the cache, it must be cleared using a cleanup strategy
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. src/net/http/triv.go

    	helloRequests.Add(1)
    	io.WriteString(w, "hello, world!\n")
    }
    
    // Simple counter server. POSTing to it will set the value.
    type Counter struct {
    	mu sync.Mutex // protects n
    	n  int
    }
    
    // This makes Counter satisfy the [expvar.Var] interface, so we can export
    // it directly.
    func (ctr *Counter) String() string {
    	ctr.mu.Lock()
    	defer ctr.mu.Unlock()
    	return strconv.Itoa(ctr.n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	}
    
    	s := preFilterState{
    		Constraints:          constraints,
    		TpKeyToCriticalPaths: make(map[string]*criticalPaths, len(constraints)),
    		TpPairToMatchNum:     make(map[topologyPair]int, sizeHeuristic(len(allNodes), constraints)),
    	}
    
    	tpCountsByNode := make([]map[topologyPair]int, len(allNodes))
    	requiredNodeAffinity := nodeaffinity.GetRequiredNodeAffinity(pod)
    	processNode := func(i int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top