- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 2,806 for Then (0.02 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
@Test @DisplayName("Should skip verification when digest is null") void testVerifySignatureNoDigest() { byte[] buffer = new byte[100]; boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); } @Test @DisplayName("Should verify signature on error when secure negotiate required")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
} @Test @DisplayName("toByteArray returns empty when no mechanismToken") void toByteArrayWhenNull() { TestSpnegoToken t = new TestSpnegoToken(); assertArrayEquals(new byte[0], t.toByteArray(), "empty array expected when mechanismToken is null"); } @Test @DisplayName("toByteArray returns mechanismToken reference when present") void toByteArrayReturnsToken() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
import org.jspecify.annotations.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If allRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy
def "is deprecated when @Deprecated annotation is attached to class"() { def notDeprecated = new ClassMetaData("SomeClass") def deprecated = new ClassMetaData("SomeClass") deprecated.addAnnotationTypeName(Deprecated.class.name) expect: !notDeprecated.deprecated deprecated.deprecated } def "is incubating when @Incubating annotation is attached to class"() {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)"); // In the opposite direction, an out-of-bounds occurs internally and is caught as false assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)"); } // Confirms equals() returns false when content differs @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 /** * Versions of TLS that can be offered when negotiating a secure socket. See * [javax.net.ssl.SSLSocket.setEnabledProtocols]. */ enum class TlsVersion( @get:JvmName("javaName") val javaName: String, ) { TLS_1_3("TLSv1.3"), // 2016.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
void availableReturnsUnderlyingWhenNoMessage() throws IOException { // Mock input stream that reports available bytes InputStream mockIn = mock(InputStream.class); when(mockIn.available()).thenReturn(42); SocketInputStream sis = new SocketInputStream(mockIn);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
SmbTree tree = new SmbTree(session, "testShare", "testService"); // Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through) assertEquals(0, size); assertNotNull(securityDescriptor.getOwnerUserSid()); assertNull(securityDescriptor.getOwnerGroupSid());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
.isNotNull() val effectivePort = when { url!!.port != defaultPort(url.scheme) -> Integer.toString(url.port) else -> "" } val effectiveQuery = when { url.encodedQuery != null -> "?" + url.encodedQuery else -> "" } val effectiveFragment = when { url.encodedFragment != null -> "#" + url.encodedFragment
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0)