Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for lives (0.15 sec)

  1. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/collect/Multiset.java

       */
      @Override
      int size();
    
      /**
       * Returns the number of occurrences of an element in this multiset (the <i>count</i> of the
       * element). Note that for an {@link Object#equals}-based multiset, this gives the same result as
       * {@link Collections#frequency} (which would presumably perform more poorly).
       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

      @Override
      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      @Override
      Set<EndpointPair<N>> edges();
    
      /**
       * Returns a live view of this graph as a {@link Graph}. The resulting {@link Graph} will have an
       * edge connecting node A to node B if this {@link ValueGraph} has an edge connecting A to B.
       */
      Graph<N> asGraph();
    
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Collections2 {
      private Collections2() {}
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is
       * a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting collection's iterator does not support {@code remove()}, but all other
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          for (Integer value : countMap.values()) {
            sum += value;
          }
          return Ints.saturatedCast(sum);
        }
    
        /*
         * Note: the superclass toArray() methods assume that size() gives a correct
         * answer, which ours does not.
         */
    
        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  9. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                        action.accept(pid, line);
                    }
                }
            });
        }
    
        private static List<String> ps() {
            return run(determinePsCommand()).assertZeroExit().stdout.lines().collect(Collectors.toList());
        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"wmic", "process", "get", "processid,commandline"};
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

                    len -= n;
                    response.adjustOffset(n);
                }
                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
Back to top