Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 203 for flive (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    		{
    			in:   FromInt32(math.MaxUint16), // max positive integer representable in three bytes
    			want: []byte{0x19, 0xff, 0xff},
    		},
    		{
    			in:   FromInt32(math.MaxUint16 + 1), // min positive integer representable in five bytes
    			want: []byte{0x1a, 0x00, 0x01, 0x00, 0x00},
    		},
    		{
    			in:   FromInt32(math.MaxInt32), // max positive integer representable by Go int32
    			want: []byte{0x1a, 0x7f, 0xff, 0xff, 0xff},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/runtime/tracetype.go

    type traceTypeTable struct {
    	tab traceMap
    }
    
    // put returns a unique id for the type typ and caches it in the table,
    // if it's seeing it for the first time.
    //
    // N.B. typ must be kept alive forever for this to work correctly.
    func (t *traceTypeTable) put(typ *abi.Type) uint64 {
    	if typ == nil {
    		return 0
    	}
    	// Insert the pointer to the type itself.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // if t's core type is a pointer; otherwise it returns t.
    //
    // Do not assume that Deref(T)==T implies T is not a pointer:
    // consider "type T *T", for example.
    //
    // TODO(adonovan): ideally this would live in typesinternal, but that
    // creates an import cycle. Move there when we melt this package down.
    func Deref(t types.Type) types.Type {
    	if ptr, ok := CoreType(t).(*types.Pointer); ok {
    		return ptr.Elem()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
        strings.remove("one");
        assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap);
        assertThat(map.entrySet())
            .containsExactly(
                mapEntry("five", 4), mapEntry("four", 4), mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  5. src/runtime/cgo.go

    // an unexported name). The calls serve two purposes:
    // 1) they are opaque to escape analysis, so the argument is considered to
    // escape to the heap.
    // 2) they keep the argument alive until the call site; the call is emitted after
    // the end of the (presumed) use of the argument by C.
    // cgoUse should not actually be called (see cgoAlwaysFalse).
    func cgoUse(any) { throw("cgoUse should not be called") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentGraphResolveMetadata.java

     *
     * <p>Implementations must be immutable, thread safe, "fast" (ie should not run user code, or touch the file system or network etc) and "reliable" (ie should not fail)
     * Expensive operations should live on {@link ComponentGraphResolveState} instead. Note that as a transition step, not all implementations currently honor this contract.</p>
     */
    public interface ComponentGraphResolveMetadata {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver.go

    			}
    
    		case <-time.After(ztunnelKeepAliveCheckInterval):
    			// do a short read, just to see if the connection to ztunnel is
    			// still alive. As ztunnel shouldn't send anything unless we send
    			// something first, we expect to get an os.ErrDeadlineExceeded error
    			// here if the connection is still alive.
    			// note that unlike tcp connections, reading is a good enough test here.
    			_, err := conn.readMessage(time.Second / 100)
    			switch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		select {
    		case bodyEOF := <-waitForBodyRead:
    			alive = alive &&
    				bodyEOF &&
    				!pc.sawEOF &&
    				pc.wroteRequest() &&
    				tryPutIdleConn(rc.treq)
    			if bodyEOF {
    				eofc <- struct{}{}
    			}
    		case <-rc.treq.ctx.Done():
    			alive = false
    			pc.cancelRequest(context.Cause(rc.treq.ctx))
    		case <-pc.closech:
    			alive = false
    		}
    
    		rc.treq.cancel(errRequestDone)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/runtime/metrics_test.go

    			// total mapped heap memory, except if there's an accounting bug.
    			if live := samples[i].Value.Uint64(); live > mstats.HeapSys {
    				t.Errorf("live bytes: %d > heap sys: %d", live, mstats.HeapSys)
    			} else if live == 0 {
    				// Might happen if we don't call runtime.GC() above.
    				t.Error("live bytes is 0")
    			}
    		case "/gc/gomemlimit:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    // gets confused when trying to advance events on the new thread.
    // The now-dead thread which exited on a GoDestroySyscall still has
    // its P associated and this transfers to the newly-live thread
    // in the parser's state because they share a thread ID.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top