Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,524 for while (0.18 sec)

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

            return;
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      var b = addressOffset
    
      var i = pos
      while (i < limit) {
        if (b == address.size) return false // Too many groups.
    
        // Read a delimiter.
        if (b != addressOffset) {
          if (input[i] != '.') return false // Wrong delimiter.
          i++
        }
    
        // Read 1 or more decimal digits for a value in 0..255.
        var value = 0
        val groupOffset = i
        while (i < limit) {
          val c = input[i]
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
        val result = Buffer()
    
        while (pos < limit) {
          var dot = string.indexOf('.', startIndex = pos)
          if (dot == -1) dot = limit
    
          if (!encodeLabel(string, pos, dot, result)) {
            // If we couldn't encode the label, give up.
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LoadingCache.java

       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
       * <p>If the cache loader associated with this cache is known not to throw checked exceptions,
       * then prefer {@link #getUnchecked} over this method.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value. ({@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharStreams.java

          } else {
            return copyReaderToWriter((Reader) from, asWriter(to));
          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            // try to swap null into head.
          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
          RunnableExecutorPair reversedStack = null;
          while (stack != NULL_PAIR) {
            RunnableExecutorPair head = stack;
            stack = stack.next;
            head.next = reversedStack;
            reversedStack = head;
          }
          stack = reversedStack;
          while (stack != null) {
            stack.execute();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    return;
                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri++] = path.substring(b, i);
                    b = i + 1;
                }
            } while (i++ < len);
    
            while (ri < result.length) {
                result[ri++] = "";
            }
        }
        DfsReferral getDfsReferrals(NtlmPasswordAuthentication auth,
                    String path,
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.6.3.min.js

    ,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&S&&!N[t+" "]&&(!s||!s.test(t))&&(...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (3)
  10. src/main/java/jcifs/smb1/util/Hexdump.java

                        d[si % 16] = (char)i;
                    }
                } while(( ++si % 16 ) != 0 );
                c[ci++] = ' ';
                c[ci++] = ' ';
                c[ci++] = '|';
                System.arraycopy( d, 0, c, ci, 16 );
                ci += 16;
                c[ci++] = '|';
                NL.getChars( 0, NL_LENGTH, c, ci );
                ci += NL_LENGTH;
            } while( si < length );
    
            ps.println( c );
        }
    
    /** 
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.4K bytes
    - Viewed (0)
Back to top