Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 701 for whale (0.17 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

            position += copied;
            sourceChannel.position(position);
          } while (copied > 0 || position < sourceChannel.size());
          return position - oldPosition;
        }
    
        ByteBuffer buf = ByteBuffer.wrap(createBuffer());
        long total = 0;
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          while (buf.hasRemaining()) {
            total += to.write(buf);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. 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 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * released until there are no more tasks to run.
       *
       * <p>If a task is submitted while a thread is executing tasks from the task queue, the thread
       * will not be released until that submitted task is also complete.
       *
       * <p>If a task is {@linkplain Thread#interrupt interrupted} while a task is running:
       *
       * <ol>
       *   <li>execution will not stop until the task queue is empty.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. 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)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

                            b = b * 10 + c - '0';
                        }
                        ip = ( ip << 8 ) + b;
                    }
                    while ( i < data.length && Character.isWhitespace(data[ i ]) ) {
                        i++;
                    }
                    j = i;
                    while ( j < data.length && Character.isWhitespace(data[ j ]) == false ) {
                        j++;
                    }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

     */
    @ElementTypesAreNonnullByDefault
    final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      /**
       * A wrapper class to indicate a node is both a predecessor and successor while still providing
       * the successor value.
       */
      private static final class PredAndSucc {
        private final Object successorValue;
    
        PredAndSucc(Object successorValue) {
          this.successorValue = successorValue;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSink.java

       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
       * @throws IOException if an I/O error occurs while opening the stream
       */
      public abstract OutputStream openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/Tokenizer.java

            if (low < 0) {
                low = 0;
            }
            if (hi >= ctype2.length) {
                hi = ctype2.length - 1;
            }
            while (low <= hi) {
                ctype2[low++] |= CT_ALPHA;
            }
        }
    
        /**
         * 単語用の文字として設定します。
         *
         * @param ctype2
         *            文字のタイプの配列
         * @param val
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top