- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 6,188 for _new (0.02 seconds)
-
docs/recipes.md
```java private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
} @Test @DisplayName("Test with empty data") void testWithEmptyData() { // Given byte[] emptyData = new byte[0]; transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, emptyData, 0, 0); byte[] dst = new byte[10]; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
private List<String> blackList = new ArrayList<>(); private Map<String, BuildFailure> buildFailuresByProject = new HashMap<>(); private Map<String, Map<String, Map>> pluginContextsByProjectAndPluginKey = new HashMap<>(); private String failureBehavior = FAIL_FAST; private final ProjectSorter sorter; private Map<String, BuildSuccess> buildSuccessesByProject = new HashMap<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
public void testRotate() { testRotate(new char[] {}, -1, new char[] {}); testRotate(new char[] {}, 0, new char[] {}); testRotate(new char[] {}, 1, new char[] {}); testRotate(new char[] {'1'}, -2, new char[] {'1'}); testRotate(new char[] {'1'}, -1, new char[] {'1'}); testRotate(new char[] {'1'}, 0, new char[] {'1'}); testRotate(new char[] {'1'}, 1, new char[] {'1'});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
private final int maxRetries; private final long retryDelay; /** * Create a new handle reconnector * @param manager the persistent handle manager */ public HandleReconnector(PersistentHandleManager manager) { this(manager, 3, 1000); } /** * Create a new handle reconnector with custom settings * @param manager the persistent handle managerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
byte[] emptyFileId = new byte[16]; assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, emptyFileId)); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() { byte[] newFileId = new byte[16]; new SecureRandom().nextBytes(newFileId);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testEncode() { byte[] buffer = new byte[1024]; int length = response.encode(buffer, 0); assertTrue(length >= 0); } @Test @DisplayName("Test decode operation") void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
return Stream.of( Arguments.of(false, new String[] {}, false), Arguments.of(true, new String[] {}, true), Arguments.of(true, new String[] {"--force-interactive"}, false), Arguments.of(true, new String[] {"--force-interactive", "--non-interactive"}, false), Arguments.of(true, new String[] {"--force-interactive", "--batch-mode"}, false),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0)