Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,067 for safe (0.04 sec)

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

      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      private final int replacementsLength;
      // The first character in the safe range.
      private final char safeMin;
      // The last character in the safe range.
      private final char safeMax;
    
      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code ThreadSafe} annotation can be used to indicate a given type
     * is thread safe.  {@link Immutable} objects are automatically thread safe.
     *
     * @see Immutable
     * @see NotThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.TYPE)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        if (n == 0) {
          @SuppressWarnings("unchecked")
          RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY;
          return empty;
        } else if (n == 1) {
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       * cast:
       *
       * <pre>
       *   {@code @SuppressWarnings("unchecked") // guaranteed by invokeAll contract}
       *   {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks);}
       * </pre>
       *
       * @return A list of {@code ListenableFuture} instances representing the tasks, in the same
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        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() {
        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top