Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Hines (0.17 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

       */
      public static final byte NL = 10;
    
      /**
       * Vertical Tabulation ('\v'): A format effector which controls the movement of the printing
       * position to the next in a series of predetermined printing lines. (Applicable also to display
       * devices.)
       *
       * @since 8.0
       */
      public static final byte VT = 11;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized},
     * {@link ReentrantLock}, and {@code Monitor}.
     *
     * <h3>{@code synchronized}</h3>
     *
     * <p>This version is the fewest lines of code, largely because the synchronization mechanism used
     * is built into the language and runtime. But the programmer has to remember to avoid a couple of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Resources.java

      }
    
      /**
       * Streams lines from a URL, stopping when our callback returns false, or we have read all of the
       * lines.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful
       *     predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
        // Test a LineProcessor that always returns false.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

          return lines.hasNext() ? lines.next() : null;
        }
    
        @Override
        public ImmutableList<String> readLines() {
          return ImmutableList.copyOf(linesIterator());
        }
    
        @Override
        @ParametricNullness
        public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
          Iterator<String> lines = linesIterator();
          while (lines.hasNext()) {
    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)
Back to top