Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for lena (0.2 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertFalse(len2.matches(c));
        }
        assertTrue(len3.matches('a'));
        assertTrue(len3.matches('b'));
        assertTrue(len3.matches('c'));
        for (char c = 'd'; c < 'z'; c++) {
          assertFalse(len3.matches(c));
        }
        assertTrue(len4.matches('a'));
        assertTrue(len4.matches('b'));
        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertFalse(len2.matches(c));
        }
        assertTrue(len3.matches('a'));
        assertTrue(len3.matches('b'));
        assertTrue(len3.matches('c'));
        for (char c = 'd'; c < 'z'; c++) {
          assertFalse(len3.matches(c));
        }
        assertTrue(len4.matches('a'));
        assertTrue(len4.matches('b'));
        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

      // (You know that it's either going to read len bytes or stop at EOF.)
      public static int read(InputStream in, byte[] b, int off, int len) throws IOException {
        checkNotNull(in);
        checkNotNull(b);
        if (len < 0) {
          throw new IndexOutOfBoundsException(String.format("len (%s) cannot be negative", len));
        }
        checkPositionIndexes(off, off + len, b.length);
        int total = 0;
        while (total < len) {
    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)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

      // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
      // buffer when possible.
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        // Obey InputStream contract.
        checkPositionIndexes(off, off + len, b.length);
        if (len == 0) {
          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
        int totalBytesRead = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        System.arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      public synchronized void write(byte[] b, int off, int len) throws IOException {
        update(len);
        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteProcessor.java

       * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive).
       *
       * @param buf the byte array containing the data to process
       * @param off the initial offset into the array
       * @param len the length of data to be processed
       * @return true to continue processing, false to stop
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

        int len = sequence.length();
        for (int i = 0; i < len; i++) {
          char c = sequence.charAt(i);
          if (matches(c)) {
            if (c == replacement && (i == len - 1 || !matches(sequence.charAt(i + 1)))) {
              // a no-op replacement
              i++;
            } else {
              StringBuilder builder = new StringBuilder(len).append(sequence, 0, i).append(replacement);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            new ByteProcessor<byte[]>() {
              int pos;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/MacHashFunction.java

        @Override
        protected void update(byte[] b) {
          checkNotDone();
          mac.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          mac.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
Back to top