- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 536 for calling (0.07 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(I18N, writer2.toString()); assertEquals(I18N.length(), copied); } /** * Test for Guava issue 1061: https://github.com/google/guava/issues/1061 * * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively * reduced the available size of the buffer each time a call to read didn't fill up the available
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
assertEquals(I18N, writer2.toString()); assertEquals(I18N.length(), copied); } /** * Test for Guava issue 1061: https://github.com/google/guava/issues/1061 * * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively * reduced the available size of the buffer each time a call to read didn't fill up the available
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
implements List<E>, RandomAccess { ImmutableList() {} public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return CollectCollectors.toImmutableList(); } // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) RegularImmutableList.EMPTY; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
E higher = iterator.next(); if (comparator().compare(e, higher) < 0) { return higher; } } return null; } @CheckForNull public E ceiling(E e) { ImmutableSortedSet<E> set = tailSet(e, true); return !set.isEmpty() ? set.first() : null; } @CheckForNull public E floor(E e) { ImmutableSortedSet<E> set = headSet(e, true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
internal/logger/logger.go
sendLog(ctx, entry) } // ErrCritical is the value panic'd whenever CriticalIf is called. var ErrCritical struct{} // CriticalIf logs the provided error on the console. It fails the // current go-routine by causing a `panic(ErrCritical)`. func CriticalIf(ctx context.Context, err error, errKind ...interface{}) { if err != nil { LogIf(ctx, "", err, errKind...) panic(ErrCritical) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
*/ class CipherSuite private constructor( /** * Returns the Java name of this cipher suite. For some older cipher suites the Java name has the * prefix `SSL_`, causing the Java name to be different from the instance name which is always * prefixed `TLS_`. For example, `TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName()` is * `"SSL_RSA_EXPORT_WITH_RC4_40_MD5"`. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 39.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
// The leftmost position at which the greatest of the k lower elements // -- the new value of threshold -- might be found. int iterations = 0; int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3; while (left < right) { int pivotIndex = (left + right + 1) >>> 1; int pivotNewIndex = partition(left, right, pivotIndex); if (pivotNewIndex > k) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
builder.build(CacheLoader.from(Suppliers.ofInstance(null))); } public void testDisableCaching() { // Functional test: assert that CacheBuilderSpec.disableCaching() // disables caching. It's irrelevant how it does so. CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching()); Object key = new Object(); Object value = new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* {@link PriorityQueue} and supplies blocking retrieval operations. While this queue is logically * unbounded, attempted additions may fail due to resource exhaustion (causing {@code * OutOfMemoryError}). This class does not permit {@code null} elements. A priority queue relying on * {@linkplain Comparable natural ordering} also does not permit insertion of non-comparable objects
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
delete(sys.metadataMap, bucket) globalBucketMonitor.DeleteBucket(bucket) } } // Set - sets a new metadata in-memory. // Only a shallow copy is saved and fields with references // cannot be modified without causing a race condition, // so they should be replaced atomically and not appended to, etc. // Data is not persisted to disk. func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) { if !isMinioMetaBucketName(bucket) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 20.4K bytes - Viewed (0)