Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4941 - 4950 of 5,353 for Return (0.08 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        try {
          inputStream.read() // if Content-Length was accurate, this would return -1 immediately
          fail<Unit>()
        } catch (expected: SocketTimeoutException) {
          // Expected.
        }
        val urlConnection2 = server.url("/").toUrl().openConnection()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            URLStreamHandler handler1 = cifsContextWrapper.getUrlHandler();
            assertNotNull(handler1);
            assertTrue(handler1 instanceof Handler);
    
            // Second call should return the same instance
            URLStreamHandler handler2 = cifsContextWrapper.getUrlHandler();
            assertEquals(handler1, handler2);
        }
    
        @Test
        void testGetSIDResolver() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(String chars) {
        return bitSet(chars.toCharArray());
      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(char[] chars) {
        BitSet tmp = new BitSet();
        for (char c : chars) {
          tmp.set(c);
        }
        return tmp;
      }
    
      @GwtIncompatible // java.util.Random, java.util.BitSet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/security/http-basic-auth.md

    {* ../../docs_src/security/tutorial007.py hl[1,11:21] *}
    
    👉 🔜 🎏:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    ✋️ ⚙️ `secrets.compare_digest()` ⚫️ 🔜 🔐 🛡 🆎 👊 🤙 "🕰 👊".
    
    ### ⏲ 👊
    
    ✋️ ⚫️❔ "⏲ 👊"❓
    
    ➡️ 🌈 👊 🔄 💭 🆔 &amp; 🔐.
    
    &amp; 👫 📨 📨 ⏮️ 🆔 `johndoe` &amp; 🔐 `love123`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        for (log in logs) {
          if (type in log) {
            return log
          }
        }
        return null
      }
    
      private fun countFrames(
        logs: List<String>,
        message: String,
      ): Int {
        var result = 0
        for (log in logs) {
          if (log == message) {
            result++
          }
        }
        return result
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append returns the same buffer instance
        public void test_append_returnsSameBuffer() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test";
    
            StringBuilder result = monitorTarget.append(buf, "key", supplier);
            assertSame(buf, result);
        }
    
        // Test appendTimestamp returns the same buffer instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
        return new Method[] {
          getMethod(NavigableSetNavigationTester.class, "testLowerHole"),
          getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
          getMethod(NavigableSetNavigationTester.class, "testCeilingHole"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

                @Override
                protected Integer doGetBatchLimit(String cmd) {
                    if ("CustomCommand".equals(cmd)) {
                        return 5;
                    }
                    return null;
                }
            };
    
            assertEquals(5, customConfig.getBatchLimit("CustomCommand"));
            assertEquals(1, customConfig.getBatchLimit("UnknownCommand"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top