Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for space (0.13 sec)

  1. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

      /*
       * This matches the same characters as linear-white-space from RFC 822, but we make no effort to
       * enforce any particular rules with regards to line folding as stated in the class docs.
       */
      private static final CharMatcher LINEAR_WHITE_SPACE = CharMatcher.anyOf(" \t\r\n");
    
      // TODO(gak): make these public?
      private static final String APPLICATION_TYPE = "application";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

            /*
             * Sorting operations can only be allowed to occur once every O(n) operations to keep
             * amortized O(n log n) performance.  Therefore, ensure there are at least O(n) *unused*
             * spaces in the builder array.
             */
            int newLength = ImmutableCollection.Builder.expandedCapacity(n, n + 1);
            if (newLength > elements.length) {
              elements = Arrays.copyOf(elements, newLength);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      // https://github.com/google/guava/issues/2152
      public void testJarFileWithSpaces() throws Exception {
        URL url = makeJarUrlWithName("To test unescaped spaces in jar file name.jar");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null);
        assertThat(ClassPath.from(classloader).getTopLevelClasses()).isNotEmpty();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      // https://github.com/google/guava/issues/2152
      public void testJarFileWithSpaces() throws Exception {
        URL url = makeJarUrlWithName("To test unescaped spaces in jar file name.jar");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null);
        assertThat(ClassPath.from(classloader).getTopLevelClasses()).isNotEmpty();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * (key) bits 'affects' a strictly smaller set of output bits. Funneling is bad because it can
       * result in more-than-ideal collisions for a non-uniformly distributed key space. In practice,
       * most key spaces are ANYTHING BUT uniformly distributed. A bit(i) in the input is said to
       * 'affect' a bit(j) in the output if two inputs, identical but for bit(i), will differ at output
       * bit(j) about half the time
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

     * determining whether a given domain name is an effective top-level domain (public suffix).
     *
     * <p>Because this class is used in GWT, the data members are stored in a space-efficient manner.
     * See {@link TrieParser}.
     *
     * @since 16.0
     */
    @GwtCompatible
    @Beta
    public final class PublicSuffixPatterns {
      private PublicSuffixPatterns() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top