Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 874 for add2 (0.02 seconds)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
          throw ee;
        } finally {
          for (Future<T> f : futures) {
            f.cancel(true);
          }
        }
      }
    
      /**
       * Submits the task and adds a listener that adds the future to {@code queue} when it completes.
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      private static <T extends @Nullable Object> ListenableFuture<T> submitAndAddQueueListener(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        fun duration(
          duration: Long,
          unit: TimeUnit,
        ) = apply {
          val now = System.currentTimeMillis()
          validityInterval(now, now + unit.toMillis(duration))
        }
    
        /**
         * Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname,
         * a literal IP address, or a hostname pattern. If no subject alternative names are added that
         * extension will be omitted.
         */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. internal/etag/etag.go

    	for _, etag := range etags {
    		if !etag.IsMultipart() && !etag.IsEncrypted() {
    			h.Write(etag)
    			n++
    		}
    	}
    	etag := append(h.Sum(nil), '-')
    	return strconv.AppendInt(etag, n, 10)
    }
    
    // Set adds the ETag to the HTTP headers. It overwrites any
    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    // about HTTP headers, Set should be used instead of
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. cmd/tier.go

    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    // Add adds tier to config if it passes all validations.
    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
          addr[i] = (byte) 0xff;
          i--;
        }
    
        checkArgument(i >= 0, "Decrementing %s would wrap.", address);
    
        addr[i]--;
        return bytesToInetAddress(addr, null);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(true)
                .add(SHORT_NAME, (byte) 1)
                .add(LONG_NAME, (byte) 2)
                .addValue((byte) 3)
                .add(SHORT_NAME, 'A')
                .add(LONG_NAME, 'B')
                .addValue('C')
                .add(SHORT_NAME, (short) 4)
                .add(LONG_NAME, (short) 5)
                .addValue((short) 6)
                .add(SHORT_NAME, 7)
                .add(LONG_NAME, 8)
                .addValue(9)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field27", Optional.absent())
                // Arrays
                .add("field31", new Object[] {"!!!"})
                .add("field32", new boolean[0])
                .add("field33", new byte[0])
                .add("field34", new char[0])
                .add("field35", new short[0])
                .add("field36", new int[0])
                .add("field37", new long[0])
                .add("field38", new float[0])
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        queryBuilder.add(Range.<Integer>all());
    
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType boundType : BoundType.values()) {
            queryBuilder.add(Range.upTo(i, boundType));
            queryBuilder.add(Range.downTo(i, boundType));
          }
          queryBuilder.add(Range.singleton(i));
          queryBuilder.add(Range.openClosed(i, i));
          queryBuilder.add(Range.closedOpen(i, i));
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("foo");
        ms.add("a");
        ms.add("bar");
        ms.add("b");
        ms.add("c");
    
        assertEquals(2, ms.count("bar"));
        assertEquals(3, ms.count("b"));
    
        Multiset<String> ms2 = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms2.add("cat", 2);
        ms2.add("x", 3);
    
        assertEquals(ms, ms2);
        assertEquals(ms2, ms);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. cmd/metacache_test.go

    		status:       scanStateError,
    		fileNotFound: false,
    		error:        "an error lol",
    		started:      metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		ended:        metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		dataVersion:  metacacheStreamVersion,
    	},
    	4: {
    		id:           "case-5-noupdate",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Click Count (0)
Back to Top