Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for Clarke (0.14 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

            if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                this.largeReadX = true;
                this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                log.debug("Enabling LARGE_READX with " + this.readSizeFile);
            }
            else {
                log.debug("LARGE_READX disabled");
                this.readSizeFile = this.readSize;
    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)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       *       userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the
       *       destination channel.
       * </ol>
       *
       * This value is intended to be large enough to make the overhead of system calls negligible,
       * without being so large that it causes problems for systems with atypical memory management if
       * approaches 2 or 3 are used.
       */
      private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
    
    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)
  3. guava-tests/test/com/google/common/collect/StreamsTest.java

      }
    
      public void testFindLast_refStream() {
        assertThat(findLast(Stream.of())).isEmpty();
        assertThat(findLast(Stream.of("a", "b", "c", "d"))).hasValue("d");
    
        // test with a large, not-subsized Spliterator
        List<Integer> list =
            IntStream.rangeClosed(0, 10000).boxed().collect(Collectors.toCollection(LinkedList::new));
        assertThat(findLast(list.stream())).hasValue(10000);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/NullnessCasts.java

       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CartesianList.java

            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        assertEquals(c, navigableSet.higher(a));
        assertEquals(c, navigableSet.higher(b));
        assertEquals(null, navigableSet.higher(c));
      }
    
      /*
       * TODO(cpovirk): make "too small" and "too large" elements available for better navigation
       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
       * may be expensive depending on the value type. Using this method on range maps with large values
       * such as {@link Collection} types is discouraged.
       *
       * @since 22.0
       */
      void putCoalescing(Range<K> range, V value);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
        Timeout(long millis, String label) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertEquals(1, map.segments[1].table.length());
        assertEquals(1, map.segments[2].table.length());
        assertEquals(1, map.segments[3].table.length());
      }
    
      public void testInitialCapacity_large() {
        CacheBuilder.newBuilder().initialCapacity(Integer.MAX_VALUE);
        // that the builder didn't blow up is enough;
        // don't actually create this monster!
      }
    
      public void testConcurrencyLevel_zero() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
     * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as
     * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations
     * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top