- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 2,952 for method (0.05 seconds)
-
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, domain, username, workstation, flags); // Then assertNotNull(type3); // Note: // Note: getType() method does not exist method does not exist in Type3Message assertEquals(domain, type3.getDomain()); assertEquals(username, type3.getUser()); assertEquals(workstation, type3.getWorkstation()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection * helps prevent bugs. This approach doesn't block any potential users since it is always possible * to use {@code Predicates.<Object>in()}. * * <p>You may prefer to use a method reference (e.g., {@code target::contains}) instead of this * method. However, there are some subtle considerations: *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (Method method : RateLimiter.class.getMethods()) { if (!isStatic(method.getModifiers()) && !NOT_WORKING_ON_MOCKS.contains(method.getName()) && !method.getDeclaringClass().equals(Object.class)) { method.invoke(mock, arbitraryParameters(method)); } } } private static Object[] arbitraryParameters(Method method) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (Method method : RateLimiter.class.getMethods()) { if (!isStatic(method.getModifiers()) && !NOT_WORKING_ON_MOCKS.contains(method.getName()) && !method.getDeclaringClass().equals(Object.class)) { method.invoke(mock, arbitraryParameters(method)); } } } private static Object[] arbitraryParameters(Method method) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
} private static final InvocationHandler X_RETURNER = new InvocationHandler() { @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return "x"; } }; private static int classesInitialized = 0; private static class A { static { ++classesInitialized; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Mockito.verifyNoMoreInteractions(mock); } // --- Invalid/null usage: calling a method on null should throw NPE --- @Test void nullReference_throwsNullPointerException() { // Arrange SmbBasicFileInfo info = null; // Act & Assert: attempting to call any method on null should throw NPE Assertions.assertThrows(NullPointerException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaperBuilder.java
this.replacements = replacements; this.replaceLength = replacements.length; } /* * Overriding escape method to be slightly faster for this decorator. We test the replacements * array directly, saving a method call. */ @Override public String escape(String s) { int slen = s.length(); for (int index = 0; index < slen; index++) { char c = s.charAt(index);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
// Setup count should be 2 (as per actual implementation) assertEquals(2, pipe.setupCount); } @Test public void testWriteSetupWireFormat() { // Test the writeSetupWireFormat method TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
* `delete` is an operator in JavaScript, but it isn't in the keywords list for JavaScript or * TypeScript because it's OK to use `delete` as a method name. */ public class ValidateJsonNoKeywordsTask extends DefaultTask { private final ObjectMapper mapper = new ObjectMapper().configure(JsonParser.Feature.ALLOW_COMMENTS, true); private File jsonKeywords;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/BiMap.java
* value} before proceeding with the {@link #put} operation. If the bimap previously contained the * provided key-value mapping, this method has no effect. * * <p>Note that a successful call to this method could cause the size of the bimap to increase by * one, stay the same, or even decrease by one. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0)