Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for makeEp (0.13 sec)

  1. src/reflect/value.go

    	// and each iteration makes its own copy of the value c.
    	var runcases []runtimeSelect
    	if len(cases) > 4 {
    		// Slice is heap allocated due to runtime dependent capacity.
    		runcases = make([]runtimeSelect, len(cases))
    	} else {
    		// Slice can be stack allocated due to constant capacity.
    		runcases = make([]runtimeSelect, len(cases), 4)
    	}
    
    	haveDefault := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. src/encoding/json/decode.go

    		}
    		r += size
    	}
    	if r == len(s) {
    		return s, true
    	}
    
    	b := make([]byte, len(s)+2*utf8.UTFMax)
    	w := copy(b, s[0:r])
    	for r < len(s) {
    		// Out of room? Can only happen if s is full of
    		// malformed UTF-8 and we're replacing each
    		// byte with RuneError.
    		if w >= len(b)-2*utf8.UTFMax {
    			nb := make([]byte, (len(b)+utf8.UTFMax)*2)
    			copy(nb, b[0:w])
    			b = nb
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    	}
    	if y != (T{}) {
    		t.Errorf("map value not zero")
    	}
    }
    
    type empty struct {
    }
    
    func TestEmptyKeyAndValue(t *testing.T) {
    	a := make(map[int]empty, 4)
    	b := make(map[empty]int, 4)
    	c := make(map[empty]empty, 4)
    	a[0] = empty{}
    	b[empty{}] = 0
    	b[empty{}] = 1
    	c[empty{}] = empty{}
    
    	if len(a) != 1 {
    		t.Errorf("empty value insert problem")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	lockRankStruct
    	// Futex-based impl treats it as uint32 key,
    	// while sema-based impl as M* waitm.
    	// Used to be a union, but unions break precise GC.
    	key uintptr
    }
    
    // sleep and wakeup on one-time events.
    // before any calls to notesleep or notewakeup,
    // must call noteclear to initialize the Note.
    // then, exactly one thread can call notesleep
    // and exactly one thread can call notewakeup (once).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. pkg/workloadapi/workload.pb.go

    	})
    	return file_workloadapi_workload_proto_rawDescData
    }
    
    var file_workloadapi_workload_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
    var file_workloadapi_workload_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
    var file_workloadapi_workload_proto_goTypes = []interface{}{
    	(WorkloadStatus)(0),             // 0: istio.workload.WorkloadStatus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top