Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 2,952 for method (0.17 seconds)

  1. android/guava/src/com/google/common/math/IntMath.java

       * RoundingMode}. If the {@code RoundingMode} is {@link RoundingMode#DOWN}, then this method is
       * equivalent to regular Java division, {@code p / q}; and if it is {@link RoundingMode#FLOOR},
       * then this method is equivalent to {@link Math#floorDiv(int,int) Math.floorDiv}{@code (p, q)}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @return The {@link Method} object matching the specified {@code name} and {@code argTypes}.
         * @throws EmptyArgumentException
         *             If the method name is {@literal null} or empty.
         * @throws NoSuchMethodRuntimeException
         *             If a matching method cannot be found.
         * @see Class#getMethod(String, Class...)
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. cmd/test-utils_test.go

    	return signature, nil
    }
    
    // Returns new HTTP request object.
    func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Marks a method as a provider of beans for dependency injection.
     * <p>
     * This annotation can be used on static methods to programmatically create and configure
     * beans that will be managed by the dependency injection container. It's particularly
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        private final ExecutorService inline = newDirectExecutorService();
    
        void assertLastMethodCalled(String method) {
          assertThat(lastMethodCalled).isEqualTo(method);
        }
    
        void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) {
          assertLastMethodCalled(method + "Timeout");
          assertEquals(unit.toMillis(timeout), lastTimeoutInMillis);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
            assertEquals("test_stackTrace", firstElement.getMethodName());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/AddressTest.java

        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                address.getHostName();
                address.getHostAddress();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

      /*
       * We avoid using a method reference or lambda here for now:
       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/context/SingletonContext.java

                }
            }
            return INSTANCE;
        }
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         *
         * @param message the detail message (which is saved for later retrieval
         *                by the {@link #getMessage()} method).
         * @param cause   the cause (which is saved for later retrieval by the
         *                {@link #getCause()} method). A {@code null} value is
         *                permitted, and indicates that the cause is nonexistent or unknown.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top