Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,930 for SMethod (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            _ * classMetaData.constants >> [someField: 'value']
        }
    
        private MethodMetaData method(Map<String, ?> args = [:], String name) {
            def MethodMetaData method = Mock()
            _ * method.name >> name
            _ * method.overrideSignature >> args.signature
            return method
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  2. 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 words
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. 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.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

        return generate_operation_id_for_path(name=route.name, path=path, method=method)
    
    
    def generate_operation_summary(*, route: routing.APIRoute, method: str) -> str:
        if route.summary:
            return route.summary
        return route.name.replace("_", " ").title()
    
    
    def get_openapi_operation_metadata(
        *, route: routing.APIRoute, method: str, operation_ids: set[str]
    ) -> dict[str, Any]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. 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 types
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            final Suggester suggester = Suggester.builder().build(client, "test");
    
            // Use reflection to access private method
            final Method method = Suggester.class.getDeclaredMethod("getIndicesForAlias", String.class);
            method.setAccessible(true);
            final List<String> indices = (List<String>) method.invoke(suggester, aliasName);
    
            assertNotNull("Indices list should not be null", indices);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top