Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,526 for while (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            this.scanner = scanner;
        }
    
        public void pushText(String rawCommentText) {
            scanner.pushText(rawCommentText);
        }
    
        @Override
        public void visit(TokenVisitor visitor) {
            while (!scanner.isEmpty()) {
                if (scanner.lookingAt(START_HTML_COMMENT)) {
                    skipComment();
                    continue;
                }
                if (scanner.lookingAt(HTML_ELEMENT)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  2. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    resolveOrder[2] = RESOLVER_BCAST;
                }
            } else {
                int[] tmp = new int[3];
                StringTokenizer st = new StringTokenizer( RO, "," );
                int i = 0;
                while( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if( s.equalsIgnoreCase( "LMHOSTS" )) {
                        tmp[i++] = RESOLVER_LMHOSTS;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. 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 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            Iterator properties = requestProperties.entrySet().iterator();
            while (properties.hasNext()) {
                Map.Entry property = (Map.Entry) properties.next();
                String key = (String) property.getKey();
                StringBuffer value = new StringBuffer();
                Iterator values = ((List) property.getValue()).iterator();
                while (values.hasNext()) {
                    value.append(values.next());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       * it does.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public ImmutableList<String> readLines() throws IOException {
        Closer closer = Closer.create();
        try {
          BufferedReader reader = closer.register(openBufferedStream());
          List<String> result = Lists.newArrayList();
          String line;
          while ((line = reader.readLine()) != null) {
            result.add(line);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext ctx = withAnonymousCredentials();
            try ( SmbFile smbFile = new SmbFile("smb://", ctx) ) {
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                        }
                    }
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top