Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for somehost (0.08 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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
    - 23.9K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * unlikely that cancel() will be slow, so we can probably get away with calling it while
             * holding a lock. Still, it would be nice to avoid somehow.
             */
            lock.lock();
            try {
              currentFuture.cancel(mayInterruptIfRunning);
            } finally {
              lock.unlock();
            }
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * unlikely that cancel() will be slow, so we can probably get away with calling it while
             * holding a lock. Still, it would be nice to avoid somehow.
             */
            lock.lock();
            try {
              currentFuture.cancel(mayInterruptIfRunning);
            } finally {
              lock.unlock();
            }
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
Back to top