Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for forever (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                  @Override
                  public Integer call() throws Exception {
                    enterLatch.countDown();
                    try {
                      new CountDownLatch(1).await(); // wait forever
                      throw new AssertionError();
                    } catch (InterruptedException e) {
                      interruptedExceptionThrown.set(true);
                      throw e;
                    } finally {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.unknownAddress = new NbtAddress(this.unknownName, 0, false, NbtAddress.B_NODE);
            this.addressCache.put(this.unknownName, new CacheEntry(this.unknownName, this.unknownAddress, SmbConstants.FOREVER));
    
            /*
             * Determine the InetAddress of the local interface
             * if one was not specified.
             */
            InetAddress localInetAddress = tc.getConfig().getNetbiosLocalAddress();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            InetAddress localInetAddress;
            String localHostname;
            Name localName;
    
            /* Create an address to represent failed lookups and cache forever.
             */
    
            ADDRESS_CACHE.put(UNKNOWN_NAME, new CacheEntry(UNKNOWN_NAME, UNKNOWN_ADDRESS, FOREVER));
    
            /* Determine the InetAddress of the local interface
             * if one was not specified.
             */
            localInetAddress = CLIENT.laddr;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          taskRunner.notify()
        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
        override fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        try {
          Thread.class.getMethod("stop").invoke(this);
          join();
        } catch (ReflectiveOperationException e) {
          // stop() threw or did not exist. Don't join() the thread, which might hang forever.
        }
    
        if (uncaughtThrowable != null) {
          throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE),
                ImmutableSortedSet.of(),
                ImmutableSet.of())
            .testEquals();
        // not testing hashCode for these because it takes forever to compute
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()));
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(11644473600000L, SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601);
            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        try {
          Thread.class.getMethod("stop").invoke(this);
          join();
        } catch (ReflectiveOperationException e) {
          // stop() threw or did not exist. Don't join() the thread, which might hang forever.
        }
    
        if (uncaughtThrowable != null) {
          throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        /**
         * Default OEM encoding for non-Unicode strings.
         */
        String DEFAULT_OEM_ENCODING = "Cp850";
    
        /**
         * Constant representing an infinite timeout.
         */
        int FOREVER = -1;
    
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients (including other threads making calls into jCIFS)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top