- Sort Score
- Result 10 results
- Languages All
Results 6711 - 6720 of 7,200 for RETURN (0.04 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 regardless of buffer position")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
byte[] encrypted = storage.encryptCredentials(null); assertNull(encrypted, "Encrypting null should return null"); char[] decrypted = storage.decryptCredentials(null); assertNull(decrypted, "Decrypting null should return null"); } @Test public void testEncryptDecryptLongPassword() throws Exception { // Test with very long password
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(24, bytesDecoded, "Should return 24 bytes consumed from offset 0"); // Test with different offset response = new ValidateNegotiateInfoResponse(); buffer = new byte[50]; bytesDecoded = response.decode(buffer, 10, 24); assertEquals(24, bytesDecoded, "Should return 24 bytes consumed regardless of offset"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
.addTrustedCertificate(serverRootCa.certificate) if (heldCertificate != null) { builder.heldCertificate(heldCertificate, *intermediates) } val handshakeCertificates = builder.build() return clientTestRule .newClientBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).build() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 13K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT"); when(project.getName()).thenReturn(projectName); return project; } private static String adaptDirSeparator(String path) { return path.replace('/', File.separatorChar).replace('\\', File.separatorChar); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 01 19:41:22 UTC 2024 - 12.3K bytes - Viewed (0) -
cmd/apierrorcode_string.go
func (i APIErrorCode) String() string { if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) { return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")" } return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
this.shouldSucceed = shouldSucceed; } @Override protected boolean performReconnection(HandleInfo info) throws Exception { if (shouldSucceed) { return true; } else { throw new IOException("Simulated reconnection failure"); } } public void testCreateReconnectionRequest(HandleInfo handle) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java
when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles); DefaultLifecycleRegistry reg = new DefaultLifecycleRegistry(); return new DefaultLifecycles(reg, new DefaultLookup(mockedContainer)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0) -
helm-releases/minio-3.5.4.tgz
$ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 14 06:04:53 UTC 2022 - 17.2K bytes - Viewed (0) -
helm-releases/minio-3.5.5.tgz
$ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 16 19:44:53 UTC 2022 - 17.2K bytes - Viewed (0)