- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,848 for lengths (0.05 sec)
-
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
buf.append("null"); } buf.append(", "); } buf.setLength(buf.length() - 2); return new String(buf); } private static String getSignature(final Class<?>... paramTypes) { if (paramTypes == null || paramTypes.length == 0) { return ""; } final StringBuilder buf = new StringBuilder(100);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo"))); assertThat(foo.getMethodName(), is("foo")); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isPublic(), is(true)); assertThat(foo.isStatic(), is(not(true))); assertThat(foo.isFinal(), is(not(true))); assertThat(foo.isAbstract(), is(not(true)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes(); byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes(); byte[] combined = new byte[md5Hash.length + murmur3Hash.length]; ByteBuffer buffer = ByteBuffer.wrap(combined); buffer.put(md5Hash); buffer.put(murmur3Hash); HashCode expected = HashCode.fromBytes(combined); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(12 + fileNameBytes.length, buffer, offset + 4); // Write notification int notifyOffset = 80; SMBUtil.writeInt4(0, buffer, notifyOffset); SMBUtil.writeInt4(1, buffer, notifyOffset + 4); SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8); System.arraycopy(fileNameBytes, 0, buffer, notifyOffset + 12, fileNameBytes.length); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
assertEquals(7, WitnessEventType.NODE_AVAILABLE.getValue()); // Verify all values are unique for (int i = 0; i < events.length; i++) { for (int j = i + 1; j < events.length; j++) { assertNotEquals(events[i].getValue(), events[j].getValue(), "Event types " + events[i] + " and " + events[j] + " have the same value"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertArrayEquals(hashAlgos, context.getHashAlgos()); assertArrayEquals(salt, context.getSalt()); assertEquals(0, context.getHashAlgos().length); assertEquals(0, context.getSalt().length); } @Test @DisplayName("Should create instance with default constructor") void testDefaultConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(emptyResponseBuffer, negotiationWithEmptyBuffers.getResponseRaw()); assertEquals(0, negotiationWithEmptyBuffers.getRequestRaw().length); assertEquals(0, negotiationWithEmptyBuffers.getResponseRaw().length); } @Test @DisplayName("Test with large buffers") void testWithLargeBuffers() { // Test with large byte arrays
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567); for (int length = 0; length < 1000; length++) { byte[] bytes = new byte[length]; r.nextBytes(bytes); assertCrc(referenceCrc(bytes), bytes); } } private static int referenceCrc(byte[] bytes) { int crc = ~0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} File pomFile = pomArtifact.getFile(); if (pomFile != null && pomFile.canRead()) { this.length = pomFile.length(); this.timestamp = pomFile.lastModified(); } else { this.length = -1; this.timestamp = -1; } } public Artifact getArtifact() { return pomArtifact;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
AnEnum[] array = new AnEnum[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (AnEnum) e; } return create(array); } protected abstract Multiset<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2.2K bytes - Viewed (0)