- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 2,362 for treats (0.04 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} } int undrainedIndex = reads.size() - segment.recencyQueue.size(); checkAndDrainRecencyQueue(map, segment, reads.subList(undrainedIndex, reads.size())); readOrder.addAll(reads); checkEvictionQueues(map, segment, readOrder, writeOrder); checkExpirationTimes(map); } } public void testComputeExistingEntry() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestBelongsToAssociation(t *testing.T) { user := *GetUser("belongs-to", Config{Company: true, Manager: true}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return CompactLinkedHashSet.create(asList(elements)); } }) .named("CompactLinkedHashSet") .withFeatures(allFeatures) .createTestSuite());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/peer-s3-server.go
"errors" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v3/sync/errgroup" ) const ( peerS3Bucket = "bucket" peerS3BucketDeleted = "bucket-deleted" peerS3BucketForceCreate = "force-create" peerS3BucketForceDelete = "force-delete" ) func healBucketLocal(ctx context.Context, bucket string, opts madmin.HealOpts) (res madmin.HealResultItem, err error) { globalLocalDrivesMu.RLock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/os-readdir_test.go
testResults = append(testResults, result{dir, entries}) t.Fatalf("Unable to create a file, %s", err) } // Symlink will not be added to entries. if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil { t.Fatalf("Unable to create a symlink, %s", err) } // Add to entries. entries = append(entries, name1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
/** * Provides utility methods for working with byte arrays and I/O streams. * * @author Chris Nokleberg * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class ByteStreams { private static final int BUFFER_SIZE = 8192; /** Creates a new byte array for buffering reads or writes. */ static byte[] createBuffer() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
/** Returns a new response body that transmits this byte array. */ @JvmStatic @JvmName("create") fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody = commonToResponseBody(contentType) /** Returns a new response body that transmits this byte string. */ @JvmStatic @JvmName("create")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
* ObjectArrays.toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because * it can be used with collections that may contain null. This collection is a collection of * non-null elements, so we can treat it as a plain `Object[]`. */ @SuppressWarnings("nullness") Object[] result = ObjectArrays.toArrayImpl(this); return result; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
tests/test_sub_callbacks.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
contents = Maps.newHashMap(); for (Element key : elems.getValuesInSet()) { contents.put(key, key); } map = mapsImpl.create(contents); } @Benchmark @Footprint(exclude = Element.class) public Map<Element, Element> create() throws Exception { return mapsImpl.create(contents); } @Benchmark public int iterate() { long retVal = 0; for (Object entry : map.entrySet()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0)