- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 2,476 for metodu (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
// This method does nothing and should return 0. assertEquals(0, bytesRead); } /** * Test the toString method. */ @Test void testToString() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); response.count = 12345L; String result = response.toString(); // The toString method should return a string containing the count.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ModifierUtil.java
return Modifier.isFinal(modifier); } /** * Checks if the specified method is final. * * @param method * the method to check * @return true if final, false otherwise */ public static boolean isFinal(final Method method) { return isFinal(method.getModifiers()); } /** * Checks if the specified field is transient. *
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
// The method should write parameter words assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value"); } @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter wordsCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
import org.junit.jupiter.params.provider.ValueSource; import jcifs.Address; import jcifs.CIFSContext; class UniAddressTest { @Nested @DisplayName("isDotQuadIP method tests") class IsDotQuadIPTests { @ParameterizedTest(name = "should return true for valid IP address: {0}") @ValueSource(strings = { "192.168.1.1", "10.0.0.255", "0.0.0.0", "255.255.255.255" })Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java
/** * The name of the method. */ private final String methodName; /** * The argument types. */ private final Class<?>[] argTypes; /** * Creates a {@link NoSuchMethodRuntimeException}. * * @param targetClass the target class * @param methodName the method name * @param argTypes the argument typesCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
/** * Test for close() method. * Verifies that the close method can be called without throwing an exception. * @throws CIFSException */ @Test void testClose() throws CIFSException { smbTreeHandle.close(); // Verify that close() was called on the mock verify(smbTreeHandle).close(); } /** * Test for close() method throwing CIFSException.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true))); } /** * */ @Test public void testIsToStringMethod() { final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString"); assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* </ul> * <li>other method calls are dispatched to {@link #handleInvocation}. * </ul> */ @Override public final @Nullable Object invoke( Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable { if (args == null) { args = NO_ARGS; } if (args.length == 0 && method.getName().equals("hashCode")) { return hashCode(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
})) { new KerberosCredentials(LOGIN_CONTEXT_NAME); } }); } /** * Test getKeys method when subject has Kerberos keys. * * @throws LoginException if login fails. */ @Test void testGetKeys_WithKeys() throws LoginException { Set<Object> privateCredentials = new HashSet<>();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
// From org.conscrypt.TrustManagerImpl, we want the method with this signature: // private TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate lastCert); val method = trustManager.javaClass.getDeclaredMethod( "findTrustAnchorByIssuerAndSignature", X509Certificate::class.java, ) method.isAccessible = true CustomTrustRootIndex(trustManager, method)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 10 05:19:46 GMT 2025 - 6.5K bytes - Click Count (0)