- Sort Score
- Num 10 results
- Language All
Results 931 - 940 of 5,014 for new1 (0.02 seconds)
-
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
// From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs public void testKnownValues() { assertSip(new byte[] {}, 0x726fdb47dd0e0e31L); assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL); assertSip(new byte[1000000], 0x28205108397aa742L); assertSip("12345678", 0x02130609caea37ebL); assertSip("abcdef", 0x2a6e77e733c7c05dL); assertSip("SipHash", 0x8325093242a96f60L); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
NodeStatusResponse(final Configuration cfg, final NbtAddress queryAddress) { super(cfg); this.queryAddress = queryAddress; this.recordName = new Name(cfg); this.macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE; leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
RequestTimeoutException exception = new RequestTimeoutException(message); assertEquals(message, exception.getMessage(), "Message should match the provided string"); assertNull(exception.getCause(), "Cause should be null for message-only constructor"); } @Test void testCauseConstructor() { // Test the constructor with a cause argument Throwable cause = new RuntimeException("Root cause");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
*/ class LicenseTest { @Test void testHashCodeNullSafe() { new License().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new License().equals(null)); new License().equals(new License()); } @Test void testEqualsIdentity() { License thing = new License(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
// -1 == 0xFFFF int negativeSid = -1; SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid); byte[] dst = new byte[2]; int written = neg.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written); assertArrayEquals(new byte[] { (byte) 0xFF, (byte) 0xFF }, dst, "Negative sid should wrap to 0xFFFF"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
@Override public Set<Integer> getImpl() { return new HashSet<>(4); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } public void testNewSetMultimap() { CountingSupplier<Set<Integer>> factory = new SetSupplier(); Map<Color, Collection<Integer>> map = new HashMap<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), 0, Ascii::toUpperCase)) .expect("A", "B", "C", "D", "E"); } public void testFlatMap() { SpliteratorTester.of( () -> CollectSpliterators.flatMap( Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
public void test_appendJarFile() throws IOException { StringBuilder buf = new StringBuilder(); File libDir = new File(tempDir, "lib"); assertTrue(libDir.mkdir()); // Create test jar files File jar1 = new File(libDir, "test1.jar"); File jar2 = new File(libDir, "test2.JAR"); File notJar = new File(libDir, "test.txt"); assertTrue(jar1.createNewFile());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
this.scenario = scenario; this.timeout = timeout; this.expectedOutcome = expectedOutcome; this.monitor = new Monitor(fair); this.guard = new FlagGuard(monitor); this.tearDownLatch = new CountDownLatch(1); this.doingCallLatch = new CountDownLatch(1); this.callCompletedLatch = new CountDownLatch(1); } private static String nameFor(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0)