Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,208 for white (0.05 sec)

  1. internal/etag/reader.go

    1. }
    2.  
    3. // UUIDHash - use uuid to make md5sum
    4. type UUIDHash struct {
    5. uuid []byte
    6. }
    7.  
    8. // Write - implement hash.Hash Write
    9. func (u UUIDHash) Write(p []byte) (n int, err error) {
    10. return len(p), nil
    11. }
    12.  
    13. // Sum - implement md5.Sum
    14. func (u UUIDHash) Sum(b []byte) []byte {
    15. return u.uuid
    16. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

    1. V value1 = entry1.getValue();
    2. checkEntryNotNull(key1, value1);
    3. // Do something that works for j2cl, where we can't call getDeclaredClass():
    4. EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
    5. while (entryItr.hasNext()) {
    6. Entry<K, ? extends V> entry = entryItr.next();
    7. K key = entry.getKey();
    8. V value = entry.getValue();
    9. checkEntryNotNull(key, value);
    10. enumMap.put(key, value);
    11. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

    1. V value1 = entry1.getValue();
    2. checkEntryNotNull(key1, value1);
    3. // Do something that works for j2cl, where we can't call getDeclaredClass():
    4. EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
    5. while (entryItr.hasNext()) {
    6. Entry<K, ? extends V> entry = entryItr.next();
    7. K key = entry.getKey();
    8. V value = entry.getValue();
    9. checkEntryNotNull(key, value);
    10. enumMap.put(key, value);
    11. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    1. routePlanner.autoGeneratePlans = true
    2. val address = routePlanner.address
    3. val pool = routePlanner.pool
    4.  
    5. // Add a connection to the pool that won't expire for a while
    6. routePlanner.defaultConnectionIdleAtNanos = expireLater
    7. setPolicy(pool, address, ConnectionPool.AddressPolicy(1))
    8. assertThat(pool.connectionCount()).isEqualTo(1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    1. */
    2. static BigInteger randomPositiveBigInteger(int numBits) {
    3. BigInteger result;
    4. do {
    5. result = randomNonNegativeBigInteger(numBits);
    6. } while (result.signum() == 0);
    7. return result;
    8. }
    9.  
    10. /**
    11. * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    1. assertTrue(sink.wasStreamOpened());
    2. assertFalse(sink.wasStreamClosed());
    3.  
    4. writer.write(STRING);
    5. writer.close();
    6.  
    7. assertTrue(sink.wasStreamClosed());
    8. assertEquals(STRING, sink.getString());
    9. }
    10.  
    11. public void testWrite_string() throws IOException {
    12. assertEquals("", sink.getString());
    13. sink.write(STRING);
    14.  
    15. assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/GraphMutationTest.java

    1. assertThat(graph.edges()).isEmpty();
    2. AbstractGraphTest.validateGraph(graph);
    3.  
    4. while (graph.nodes().size() < NUM_NODES) {
    5. graph.addNode(gen.nextInt(NODE_POOL_SIZE));
    6. }
    7. ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes());
    8. while (graph.edges().size() < NUM_EDGES) {
    9. graph.putEdge(getRandomElement(nodeList, gen), getRandomElement(nodeList, gen));
    10. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  8. internal/dsync/lock-args_gen.go

    1. func (z *LockArgs) EncodeMsg(en *msgp.Writer) (err error) {
    2. // map header, size 5
    3. // write "UID"
    4. err = en.Append(0x85, 0xa3, 0x55, 0x49, 0x44)
    5. if err != nil {
    6. return
    7. }
    8. err = en.WriteString(z.UID)
    9. if err != nil {
    10. err = msgp.WrapError(err, "UID")
    11. return
    12. }
    13. // write "Resources"
    14. err = en.Append(0xa9, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73)
    15. if err != nil {
    16. return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. internal/deadlineconn/deadlineconn_test.go

    1. if terr != nil {
    2. t.Errorf("failed to write to client. %v", terr)
    3. return
    4. }
    5. }()
    6.  
    7. c, err := net.Dial("tcp", serverAddr)
    8. if err != nil {
    9. t.Fatalf("unable to connect to server. %v", err)
    10. }
    11. defer c.Close()
    12.  
    13. _, err = io.WriteString(c, "message one\n")
    14. if err != nil {
    15. t.Fatalf("failed to write to server. %v", err)
    16. }
    17. _, err = io.WriteString(c, "message two\n")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Nov 05 18:09:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. common/scripts/kind_provisioner.sh

    1. while read -r value; do
    2. CLUSTER_NAMES+=("$value")
    3. done < <(echo "${KUBE_CLUSTERS}" | jq -r '.cluster_name // .clusterName')
    4.  
    5. while read -r value; do
    6. CLUSTER_POD_SUBNETS+=("$value")
    7. done < <(echo "${KUBE_CLUSTERS}" | jq -r '.pod_subnet // .podSubnet')
    8.  
    9. while read -r value; do
    10. CLUSTER_SVC_SUBNETS+=("$value")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top