Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 2,945 for methods (0.06 seconds)

  1. guava/src/com/google/common/base/Platform.java

    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * the exact versions of tools they wish to use.</p>
     *
     * <p>
     * Toolchains can be obtained through the {@link org.apache.maven.api.services.ToolchainManager ToolchainManager}
     * service. This service provides methods to retrieve and manage toolchains defined
     * in the Maven configuration.
     * </p>
     *
     * <p>
     * The following are key functionalities provided by the Toolchain interface:</p><ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

                latch.countDown();
                return 1;
            });
    
            configHelper.update();
            configHelper.update();
            configHelper.update();
    
            assertTrue("All load methods should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(3, configHelper.getLoadCallCount());
        }
    
        @Test
        public void test_load_returnsExpectedValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteStreams.java

       *
       * <p><b>Java 11+ users:</b> use {@link OutputStream#nullOutputStream()} instead. Note that the
       * {@link ByteStreams} method returns a singleton stream whose {@code close} method has no effect,
       * while the {@link OutputStream} method returns a new instance whose {@code write} methods throw
       * if called on a closed stream.
       *
       * @since 14.0 (since 1.0 as com.google.common.io.NullOutputStream)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/MutableValueGraph.java

     */
    
    package com.google.common.graph;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A subinterface of {@link ValueGraph} which adds mutation methods. When mutation is not required,
     * users should prefer the {@link ValueGraph} interface.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

            }
        }
    
        /**
         * An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the <code>getRequestingURL</code> and <code>getRequestingException</code> methods.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
    
            @Override
            public void setNext(ServerMessageBlock2 next) {
                this.nextBlock = next;
            }
    
            // Helper methods to manipulate parent's private fields via reflection or protected methods
            public void setStatusForTest(int status) {
                // Workaround: Use reflection to set private status field
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. internal/lock/lock_test.go

    // Tests lock directory fail.
    func TestLockDirFail(t *testing.T) {
    	d := t.TempDir()
    
    	_, err := LockedOpenFile(d, os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests rwlock methods.
    func TestRWLockedFile(t *testing.T) {
    	f, err := os.CreateTemp(t.TempDir(), "lock")
    	if err != nil {
    		t.Fatal(err)
    	}
    	f.Close()
    	defer func() {
    		err = os.Remove(f.Name())
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

         * @param skipDuplicateWords Whether to skip duplicate words.
         * @param matchWordFirst Whether to prioritize first word matching.
         * @param queryBuilder The SuggestQueryBuilder instance for query analysis methods.
         */
        public SuggestResponseCreator(final String query, final int size, final boolean suggestDetail, final boolean skipDuplicateWords,
                final boolean matchWordFirst, final SuggestQueryBuilder queryBuilder) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test that process method is abstract
        @Test
        public void test_processMethodIsAbstract() throws Exception {
            try {
                java.lang.reflect.Method processMethod =
                        CorsHandler.class.getDeclaredMethod("process", String.class, ServletRequest.class, ServletResponse.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
Back to Top