- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,315 for _size (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
} } enum Topology { BALANCED { @Override Optional<BinaryNode> createTree(int size, Random rng) { if (size == 0) { return Optional.absent(); } else { int leftChildSize = (size - 1) / 2; int rightChildSize = size - 1 - leftChildSize; return Optional.of( new BinaryNode(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 26 19:18:53 UTC 2019 - 4.9K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format) } if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size { t.Errorf("Expected the stat size to be %v, but got %v.", unMarshalXLMeta.Stat.Size, jsoniterXLMeta.Stat.Size) } if !unMarshalXLMeta.Stat.ModTime.Equal(jsoniterXLMeta.Stat.ModTime) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} if got, want := ss.Size(), int64(len("abc")+len("defghijklmno")); got != want { t.Errorf("Size = %d; want %d", got, want) } buf := make([]byte, ss.Size()) for off := int64(0); off < ss.Size(); off++ { for size := 1; size <= int(ss.Size()-off); size++ { readBuf := buf[:size] n, err := ss.ReadAt(readBuf, off) if off < ss.Size()-keep { if err != errDiscardedBytes {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/erasure-encode_test.go
b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 0, 1, size, b) }) b.Run(" X0|00 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 1, 0, size, b) }) } func BenchmarkErasureEncode_4_64KB(b *testing.B) { const size = 64 * 1024 b.Run(" 00|00 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 0, 0, size, b) }) b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 0, 1, size, b) })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/erasure-decode_test.go
b.Run(" X0|X0 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 1, 1, size, b) }) } func BenchmarkErasureDecode_4_64KB(b *testing.B) { const size = 64 * 1024 b.Run(" 00|00 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 0, size, b) }) b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 0, 1, size, b) }) b.Run(" X0|00 ", func(b *testing.B) { benchmarkErasureDecode(2, 2, 1, 0, size, b) })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
// Max size is halved due to indexing into double-sized alternatingKeysAndValues private static final int BYTE_MAX_SIZE = 1 << (Byte.SIZE - 1); // 2^7 = 128 private static final int SHORT_MAX_SIZE = 1 << (Short.SIZE - 1); // 2^15 = 32_768 private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255 private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java
import jakarta.validation.constraints.Size; /** * @author codelibs * @author Keiichi Watanabe */ public class CreateForm { @ValidateTypeFailure public Integer crudMode; @Required @Size(max = 200) public String name; @Size(max = 1000) public String description; @Required @CustomSize(maxKey = "form.admin.max.input.size") public String handlerName;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java
PersistedToolchains jdksExtra = read(jdksExtraIS); assertEquals(2, jdks.getToolchains().size()); merger.merge(jdks, jdksExtra, TrackableBase.USER_LEVEL); assertEquals(4, jdks.getToolchains().size()); assertEquals(2, jdksExtra.getToolchains().size()); } try (InputStream jdksIS = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java
public String protocolScheme; @Required @Size(max = 100) public String username; @Size(max = 100) public String password; @Size(max = 1000) public String parameters; @Required @Size(max = 1000) public String webConfigId; @Size(max = 1000) public String createdBy; @ValidateTypeFailure public Long createdTime;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetOperationsTest.java
assertEquals(3, symmetricDifferenceFriendsFirst.size()); assertEquals(4, immut.size()); assertEquals(4, mut.size()); immut = Sets.symmetricDifference(enemies, friends).immutableCopy(); mut = Sets.symmetricDifference(enemies, friends).copyInto(new HashSet<String>()); friends.add("Harry"); assertEquals(2, symmetricDifferenceEnemiesFirst.size()); assertEquals(3, immut.size()); assertEquals(3, mut.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0)