- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 4,328 for new1 (0.87 sec)
-
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@Override public void setUp() { fakePool = new FakeExecutor(); e = new SequentialExecutor(fakePool); } public void testConstructingWithNullExecutor_fails() { assertThrows(NullPointerException.class, () -> new SequentialExecutor(null)); } public void testBasics() { AtomicInteger totalCalls = new AtomicInteger(); Runnable intCounter = new Runnable() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]); propertiesFile.deleteOnExit(); DynamicProperties systemProps = new DynamicProperties(propertiesFile); ComponentUtil.register(systemProps, "systemProperties"); userAgentHelper = new UserAgentHelper(); ComponentUtil.register(userAgentHelper, "userAgentHelper"); pathMappingHelper = new PathMappingHelper(); pathMappingHelper.init();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return set.subSet(firstInclusive, lastExclusive); } else { throw new IllegalArgumentException(); } } @Override public E belowSamplesLesser() { throw new UnsupportedOperationException(); } @Override public E belowSamplesGreater() { throw new UnsupportedOperationException(); } @Override public E aboveSamplesLesser() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
Properties props = new Properties(); props.setProperty("jcifs.smb.client.useMultiChannel", "false"); PropertyConfiguration config = new PropertyConfiguration(props); assertFalse(config.isUseMultiChannel()); props.setProperty("jcifs.smb.client.useMultiChannel", "true"); config = new PropertyConfiguration(props); assertTrue(config.isUseMultiChannel());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
byte[] a = new byte[n]; for (int i = 0; i < n; i++) { a[i] = (byte) i; } return a; } @ParameterizedTest @MethodSource("byteEncodableArgs") @DisplayName("encode() copies bytes correctly and returns size") void encodeCopiesAndReportsSize(byte[] src, int off, int len, int dstIndex) { Encodable enc = new ByteEncodable(src, off, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// Given String testString = "Hello"; byte[] buffer = new byte[testString.length()]; // When - Manual string encoding using individual bytes byte[] strBytes = testString.getBytes(); System.arraycopy(strBytes, 0, buffer, 0, strBytes.length); // Then String decoded = new String(buffer); assertEquals(testString, decoded); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given SecureKeyManager keyManager = new SecureKeyManager(); byte[] encKey = new byte[16]; byte[] decKey = new byte[16]; new SecureRandom().nextBytes(encKey); new SecureRandom().nextBytes(decKey); Smb2EncryptionContext context =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
Name mockRecordName = new Name(mockConfig); recordNameField.set(nameQueryResponse, mockRecordName); NbtAddress[] addresses = new NbtAddress[2]; // Create dummy NbtAddress objects for testing toString addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1 addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
} public void testToArrayImpl2() { doTestToArrayImpl2(new ArrayList<Integer>(), new Integer[0], false); doTestToArrayImpl2(new ArrayList<Integer>(), new Integer[1], true); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true); doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test multiple instantiations with different constructors SearchQueryException exception1 = new SearchQueryException("Exception 1"); SearchQueryException exception2 = new SearchQueryException("Exception 2", new Exception("Cause 2")); SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3")); assertNotSame(exception1, exception2); assertNotSame(exception2, exception3);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0)