- Sort Score
- Result 10 results
- Languages All
Results 1831 - 1840 of 1,879 for latests (0.04 sec)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); short[][] arrays = new short[arraysDim1][]; // it's shared to avoid using too much memory in tests short[] sharedArray = new short[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Shorts.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
} @Override @VisibleForTesting ImmutableBiMap<K, V> buildJdkBacked() { checkState( valueComparator == null, "buildJdkBacked is for tests only, doesn't support orderEntriesByValue"); switch (size) { case 0: return of(); case 1: // requireNonNull is safe because the first `size` elements have been filled in.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
cmd/encryption-v1.go
} if subtle.ConstantTimeCompare(oldKey, newKey) == 1 && sealedKey.Algorithm == crypto.SealAlgorithm { return nil // don't rotate on equal keys if seal algorithm is latest } sealedKey = objectKey.Seal(newKey, sealedKey.IV, crypto.SSEC.String(), bucket, object) crypto.SSEC.CreateMetadata(metadata, sealedKey) return nil default: return errObjectTampered } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 38K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.24.md
### Other (Cleanup or Flake)
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Thu Aug 24 00:02:43 UTC 2023 - 473.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(original, map); } public void testCapacityForNegativeSizeFails() { assertThrows(IllegalArgumentException.class, () -> Maps.capacity(-1)); } /** * Tests that nHMWES makes hash maps large enough that adding the expected number of elements * won't cause a rehash. * * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
tests/update_test.go
package tests_test import ( "errors" "regexp" "sort" "strings" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/utils" . "gorm.io/gorm/utils/tests" ) func TestUpdate(t *testing.T) { var ( users = []*User{ GetUser("update-1", Config{}), GetUser("update-2", Config{}), GetUser("update-3", Config{}), } user = users[1] lastUpdatedAt time.Time )
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
internal/grid/grid_test.go
os.Exit(2) } }() return func() { close(cc) } } func assertNoActive(t *testing.T, c *Connection) { t.Helper() // Tiny bit racy for tests, but we try to play nice. for i := 10; i >= 0; i-- { runtime.Gosched() stats := c.Stats() if stats.IncomingStreams != 0 { if i > 0 { time.Sleep(100 * time.Millisecond) continue
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.1K bytes - Viewed (0) -
tests/generics_test.go
"fmt" "reflect" "regexp" "sort" "strconv" "strings" "sync" "testing" "github.com/google/uuid" "gorm.io/driver/mysql" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestGenericsCreate(t *testing.T) { ctx := context.Background() user := User{Name: "TestGenericsCreate", Age: 18} err := gorm.G[User](DB).Create(ctx, &user) if err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0) -
cmd/peer-rest-server.go
if err != nil { s.writeErrorResponse(w, err) return } if lrTime.Sub(currentReleaseTime) <= 0 { s.writeErrorResponse(w, fmt.Errorf("server is running the latest version: %s", Version)) return } zr, err := zstd.NewReader(r.Body) if err != nil { s.writeErrorResponse(w, err) return } defer zr.Close()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 53.6K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
``` * New: `Cache.initialize()`. Call this on a background thread to eagerly initialize the response cache. * New: Fold `MockWebServerRule` into `MockWebServer`. This makes it easier to write JUnit tests with `MockWebServer`. The `MockWebServer` library now depends on JUnit, though it continues to work with all testing frameworks. * Fix: `FormEncodingBuilder` is now consistent with browsers in which
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0)