Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for 1034 (0.02 sec)

  1. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private String getStatus(long complete, long total) {
            if (total >= 1024) {
                return toKB(complete) + "/" + toKB(total) + " KB ";
            } else if (total >= 0) {
                return complete + "/" + total + " B ";
            } else if (complete >= 1024) {
                return toKB(complete) + " KB ";
            } else {
                return complete + " B ";
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

         */
        public List<Problem> getProblems() {
            return problems;
        }
    
        private static String toMessage(List<Problem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

     */
    public final class SimplexTransferListener extends AbstractTransferListener {
        private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class);
        private static final int QUEUE_SIZE = 1024;
        private static final int BATCH_MAX_SIZE = 500;
        private final TransferListener delegate;
        private final int batchMaxSize;
        private final boolean blockOnLastEvent;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
        this.hitRate = hitRate;
        this.size = size;
    
        this.valuesInSet = createData();
        this.queries = createQueries(valuesInSet, 1024);
      }
    
      Set<Element> getValuesInSet() {
        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
        this.hitRate = hitRate;
        this.size = size;
    
        this.valuesInSet = createData();
        this.queries = createQueries(valuesInSet, 1024);
      }
    
      Set<Element> getValuesInSet() {
        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

         */
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    
        private static String toMessage(List<SettingsProblem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      public static class Ints extends SampleElements<Integer> {
        public Ints() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(1, 0, 2, 3, 4);
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      public static class Ints extends SampleElements<Integer> {
        public Ints() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(1, 0, 2, 3, 4);
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top