- Sort Score
- Result 10 results
- Languages All
Results 1331 - 1340 of 1,487 for Take (0.02 sec)
-
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
generator.generateFresh(String.class)); } public void testFreshCurrency() { FreshValueGenerator generator = new FreshValueGenerator(); // repeat a few times to make sure we don't stumble upon a bad Locale assertThat(generator.generateFresh(Currency.class)).isNotNull(); assertThat(generator.generateFresh(Currency.class)).isNotNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
* states it cannot ever leave them. * * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes * in this package which implement this interface and make the threading and state management * easier. * * @author Jesse Wilson * @author Luke Sandberg * @since 9.0 (in 1.0 as {@code com.google.common.base.Service}) */ @DoNotMock("Create an AbstractIdleService")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
// InlineBlock indicates the size of the block which will be used to inline // an erasure shard and written along with xl.meta on the drive, on a versioned // bucket this value is automatically chosen to 1/8th of the this value, make // sure to put this into consideration when choosing this value. func (sCfg *Config) InlineBlock() int64 { ConfigLock.RLock() defer ConfigLock.RUnlock() if !sCfg.initialized { return 128 * humanize.KiByte
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
this.cells.addAll(other.cells); return this; } /** * Returns a newly-created immutable table. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate key pairs. The {@code build()} method will * soon be deprecated. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testAsList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> list = Bytes.asList(array); byte[] newArray = Bytes.toArray(list); // Make sure it returned a copy list.set(0, (byte) 4); assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2}); newArray[1] = (byte) 5; assertThat((byte) list.get(1)).isEqualTo((byte) 1); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{math.MaxInt64, "\x80\x7f\xff\xff\xff\xff\xff\xff\xff", true}, {math.MinInt64, "\xff\x80\x00\x00\x00\x00\x00\x00\x00", true}, } for _, v := range vectors { var f formatter got := make([]byte, len(v.want)) f.formatNumeric(got, v.in) ok := (f.err == nil) if ok != v.ok { if v.ok { t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in) } else {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 11 17:52:43 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Create a file that exists but will cause an IOException when read File lmhostsFile = tempDir.resolve("lmhosts").toFile(); lmhostsFile.createNewFile(); // Make file unreadable on Unix-like systems boolean isWindows = System.getProperty("os.name").toLowerCase().contains("windows"); if (!isWindows) { assertTrue(lmhostsFile.setReadable(false)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
* This test verifies path parsing without actual network operations */ @Test void testPathHandling() throws Exception { // Create a test-specific NetworkExplorer that doesn't make network calls networkExplorer = new NetworkExplorer() { @Override public void init(ServletConfig config) throws ServletException { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
* * @author mike nonemacher */ @NullUnmarked public class PopulatedCachesTest extends TestCase { // we use integers as keys; make sure the range covers some values that ARE cached by // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.) static final int WARMUP_MIN = 120; static final int WARMUP_MAX = 135;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
LICENSE
this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by theirRegistered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Tue Nov 22 19:44:46 UTC 2016 - 11.1K bytes - Viewed (0)