- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 6,020 for new1 (0.08 seconds)
-
android/guava-tests/test/com/google/common/io/CharSinkTest.java
TestCharSink failSink = new TestCharSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_whenWritingFromReaderThatThrows() { TestCharSink okSink = new TestCharSink(); assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingSortedSetTest.class); suite.addTest( SortedSetTestSuiteBuilder.using( new TestStringSortedSetGenerator() { @Override protected SortedSet<String> create(String[] elements) { return new StandardImplForwardingSortedSet<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Given FileBasicInfo originalInfo = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES); byte[] buffer = new byte[64]; // When - Encode int bytesEncoded = originalInfo.encode(buffer, 0); // When - Decode FileBasicInfo decodedInfo = new FileBasicInfo();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
super.setUp(); emptyAccumulator = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of()); emptyAccumulatorByAddAllEmptyStats = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of()); oneValueAccumulator = new StatsAccumulator(); oneValueAccumulator.add(ONE_VALUE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
final ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .cipherSuites(customCipherSuites.toArray(new CipherSuite[0])) .build(); X509TrustManager trustManager = defaultTrustManager(); SSLSocketFactory sslSocketFactory = defaultSslSocketFactory(trustManager); SSLSocketFactory customSslSocketFactory = new DelegatingSSLSocketFactory(sslSocketFactory) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
void testReadFromDifferentPositions() throws Exception { byte[] buffer = new byte[200]; // Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
// endpointGroup = new RdmaActiveEndpointGroup<DisniRdmaEndpoint>( // 1000, false, 128, 4, 128); // endpointGroup.init(new DisniRdmaEndpointFactory()); // For now, we'll just create placeholder objects endpointGroup = new Object(); endpoint = new Object(); initialized = true;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0)