- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 526 for setMsg (0.04 sec)
-
internal/logger/logger.go
// unique set. data is expected to be pre-sorted, and the resulting set in // the range [0:size] will remain in sorted order. Uniq, following a // sort.Sort call, can be used to prepare arbitrary inputs for use as sets. func uniq(data sort.Interface) (size int) { p, l := 0, data.Len() if l <= 1 { return l } for i := 1; i < l; i++ { if !data.Less(p, i) { continue } p++ if p < i {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
src/archive/zip/struct.go
// the system's local character encoding happens to be. // // This flag should only be set if the user intends to encode a non-portable // ZIP file for a specific localized region. Otherwise, the Writer // automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings. NonUTF8 bool CreatorVersion uint16 ReaderVersion uint16 Flags uint16 // Method is the compression method. If zero, Store is used.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
public void testEntrySet() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
} else if (table instanceof short[]) { return ((short[]) table)[index] & SHORT_MASK; // unsigned read } else { return ((int[]) table)[index]; } } /** * Sets {@code table[index]} to {@code entry}, where {@code table} is actually a {@code byte[]}, * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/data-usage.go
cachevalue.Opts{ReturnLastGood: true, NoWait: true}, func(ctx context.Context) (map[string]uint64, error) { m := make(map[string]uint64) for _, pool := range z.serverPools { for _, er := range pool.sets { // Load bucket usage prefixes ctx, done := context.WithTimeout(ctx, 2*time.Second) ok := cache.load(ctx, er, bucket+slashSeparator+dataUsageCacheName) == nil done() if ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
"sun.net.www.protocol" }; private static URLStreamHandlerFactory factory; private CIFSContext transportContext; /** * Sets the URL stream handler factory for the environment. This * allows specification of the factory used in creating underlying * stream handlers. This can be called once per JVM instance. * * @param factory
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SetMultimap.java
* * <p>If the values corresponding to a single key should be ordered according to a {@link * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface. * * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified * if key or value objects already present in the multimap change in a manner that affects
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SetMultimap.java
* * <p>If the values corresponding to a single key should be ordered according to a {@link * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface. * * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified * if key or value objects already present in the multimap change in a manner that affects
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
private static final class DoNothingRunnable implements Runnable { @Override public void run() {} } // The thread executing the task publishes itself to the superclass' reference and the thread // interrupting sets DONE when it has finished interrupting. private static final Runnable DONE = new DoNothingRunnable(); private static final Runnable PARKED = new DoNothingRunnable(); // Why 1000? WHY NOT!
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
while (!at.weakCompareAndSet(prev, x)) { ; } assertBitEquals(x, at.get()); prev = x; } } /** getAndSet returns previous value and sets to given value */ public void testGetAndSet() { double prev = Math.E; AtomicDouble at = new AtomicDouble(prev); for (double x : VALUES) { assertBitEquals(prev, at.getAndSet(x)); prev = x;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0)