Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for lena (0.13 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. guava-tests/test/com/google/common/io/TestWriter.java

      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestCharSink.java

            flush();
          }
    
          @Override
          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
          @Override
          public void write(String str, int off, int len) throws IOException {
            super.write(str, off, len);
            flush();
          }
        };
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = Math.min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
      private static List<String> readUsingJava(String input, int chunk) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
          ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len);
          suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        testThreshold(1000, 100, false, true);
      }
    
      static void write(OutputStream out, byte[] b, int off, int len, boolean singleByte)
          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        @Override
        protected void update(byte b) {
          checkNotDone();
          digest.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          digest.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          digest.update(bytes);
        }
    
        private void checkNotDone() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Utf8.java

       *
       * @param bytes the input buffer
       * @param off the offset in the buffer of the first byte to read
       * @param len the number of bytes to read from the buffer
       */
      public static boolean isWellFormed(byte[] bytes, int off, int len) {
        int end = off + len;
        checkPositionIndexes(off, end, bytes.length);
        // Look for the first non-ASCII character.
        for (int i = off; i < end; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
        final int off = lowerIndex;
        final int len = upperIndex - lowerIndex;
        ImmutableList<Range<K>> subRanges =
            new ImmutableList<Range<K>>() {
              @Override
              public int size() {
                return len;
              }
    
              @Override
              public Range<K> get(int index) {
                checkElementIndex(index, len);
                if (index == 0 || index == len - 1) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top