Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 2,321 for methods (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
       * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket.
       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(text: String): Boolean
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 02 18:21:28 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            }
        }
    
        // Test main method with invalid arguments
        public void test_main_invalidArguments() {
            // Cannot directly test main as it calls System.exit
            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        public void test_main_validArguments() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertEquals(-1, crawlJob.hotThreadInterval);
            assertSame(crawlJob, result);
        }
    
        // Test getExecuteType method
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_CRAWLER, crawlJob.getExecuteType());
        }
    
        // Test execute method with runAll scenario
        public void test_execute_runAll() {
            // Setup test
            crawlJob = new CrawlJob() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentCache.java

     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
     * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.
     * If the content is cached in a file, it returns a FileInputStream. If the content is cached in memory,
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DfsResolverTest.java

        @BeforeEach
        void setUp() {
            dfsResolver = new DfsImpl(mockContext);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        // Test for isTrustedDomain method
        @Test
        void testIsTrustedDomain_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NetworkExplorerTest.java

            doNothing().when(spyExplorer).doFile(any(), any(), any());
    
            // Call the method
            spyExplorer.doFile(request, response, smbFile);
    
            // Verify the method was called
            verify(spyExplorer).doFile(eq(request), eq(response), eq(smbFile));
        }
    
        /**
         * Test doDirectory method directly - simplified test
         */
        @Test
        void testDoDirectory() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/escape/UnicodeEscaper.java

       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top