Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5251 - 5260 of 5,742 for text (0.07 seconds)

  1. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        setSize = max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
          // Round up to the next highest power of 2.
          int tableSize = Integer.highestOneBit(setSize - 1) << 1;
          while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
            tableSize <<= 1;
          }
          return tableSize;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    @NullMarked
    public class ImmutableSortedMapTest extends TestCase {
      // TODO: Avoid duplicating code in ImmutableMapTest
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableSortedMapTest.class);
    
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(new ImmutableSortedMapGenerator())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val openClientSocket = openClientSockets.iterator()
          while (openClientSocket.hasNext()) {
            openClientSocket.next().closeQuietly()
            openClientSocket.remove()
          }
    
          val httpConnection = openConnections.iterator()
          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
          dispatcher.close()
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

                    updateForm(fessConfig, form);
                });
            });
        }
    
        /**
         * Sends a test mail using the provided notification settings.
         *
         * @param form the mail form containing notification settings
         * @return HTML response after sending test mail
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse sendmail(final MailForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 05:54:31 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  6. internal/ringbuffer/ring_buffer.go

    // and can be read back from another goroutine.
    // It is safe to concurrently read and write RingBuffer.
    type RingBuffer struct {
    	buf       []byte
    	size      int
    	r         int // next position to read
    	w         int // next position to write
    	isFull    bool
    	err       error
    	block     bool
    	mu        sync.Mutex
    	wg        sync.WaitGroup
    	readCond  *sync.Cond // Signaled when data has been read.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                final StringBuilder value = new StringBuilder();
                final Iterator<String> values = property.getValue().iterator();
                while (values.hasNext()) {
                    value.append(values.next());
                    if (values.hasNext()) {
                        value.append(", ");
                    }
                }
                this.setRequestProperty(key, value.toString());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/wsgi.md

    Wenn Sie das ausführen und auf [http://localhost:8000/v1/](http://localhost:8000/v1/) gehen, sehen Sie die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> von Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    Und wenn Sie auf [http://localhost:8000/v2](http://localhost:8000/v2) gehen, sehen Sie die Response von FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            final StorageItem item = new StorageItem("root-file.txt", "", false, 512L, null, "cm9vdC1maWxlLnR4dA==");
    
            assertEquals("root-file.txt", item.getName());
            assertEquals("", item.getPath());
        }
    
        public void test_deeplyNestedPath() {
            final String deepPath = "/level1/level2/level3/level4/level5/";
            final StorageItem item = new StorageItem("nested.txt", deepPath, false, 256L, null, "bmVzdGVkLnR4dA==");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top