- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 4,335 for news (0.02 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind int len = string.length(); int size = len * count; char[] array = new char[size]; for (int i = 0; i < size; i += len) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
private JobHelper jobHelper; @Override public void setUp() throws Exception { super.setUp(); jobHelper = new JobHelper(); ComponentUtil.register(new SystemHelper(), "systemHelper"); ComponentUtil.register(new MockJobLogBhv(), JobLogBhv.class.getCanonicalName()); } public void test_register_with_null_scheduledJob() { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test force cleanup") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
if (masterPassword == null || masterPassword.length == 0) { throw new IllegalArgumentException("Master password cannot be null or empty"); } // Generate salt for key derivation this.salt = new byte[SALT_SIZE]; secureRandom.nextBytes(this.salt); // Derive master key from password
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl); when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>()); // Mock CIFSContext behavior NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
public void run() throws Exception { File socketFile = new File("/tmp/ClientAndServer.sock"); socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer(); server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile)); server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId()); req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs)); dh.send(req); } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) { // use the open file descriptor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
throw new IOException("Unable to prompt", e); } } @Override public String readPassword() throws IOException { try { return prompter.promptForPassword(null); } catch (org.apache.maven.api.services.PrompterException e) { throw new IOException("Unable to prompt", e); } } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:48:41 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
switch (type) { case EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE: return new EncryptionNegotiateContext(); case PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE: return new PreauthIntegrityNegotiateContext(); case CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE: return new CompressionNegotiateContext(); } return null; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)