Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for somehost (0.04 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

            }
    
            @Test
            void shouldReturnSmbServerNameWhenInetAddressAndCalledNameIsNotSmbServerName() throws UnknownHostException {
                when(mockInetAddress.getHostName()).thenReturn("somehost");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                uniAddress.firstCalledName(); // Initialize calledName
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            // results in an IOException, as no default handler should be found.
            assertThrows(IOException.class, () -> {
                handler.openConnection(new URL("unknownprotocol://somehost/path"));
            }, "Should throw IOException for an unknown protocol.");
        }
    
        @Test
        void testSetURLStreamHandlerFactory_SuccessFirstTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          Interceptor { chain: Interceptor.Chain ->
            val address = chain.connection()!!.route().address
            val sameHost = address.url.host
            val differentPort = address.url.port + 1
            chain.proceed(
              chain
                .request()
                .newBuilder()
                .url("http://$sameHost:$differentPort/")
                .build(),
            )
          }
        client =
          client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     *     derived classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @see FeatureSpecificTestSuiteBuilder
     * @author George van den Driessche
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
        assertSame("", Strings.padEnd("", 0, '-'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      // TODO(user): Support Sleeper somehow (wrapper or interface method)?
      /**
       * Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly.
       *
       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/handling-errors.md

    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

            if (lowerBounds.length == 0) { // ? extends something changes to capture-of
              return captureAsTypeVariable(wildcardType.getUpperBounds());
            } else {
              // TODO(benyu): handle ? super T somehow.
              return type;
            }
          }
          throw new AssertionError("must have been one of the known types");
        }
    
        TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) {
          String name =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/pom.xml

        -->
        <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version>
        <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
        <test.include>%regex[.*.class]</test.include>
        <truth.version>1.4.4</truth.version>
        <jspecify.version>1.0.0</jspecify.version>
        <errorprone.version>2.41.0</errorprone.version>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top