Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,471 for isSafe (0.7 sec)

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

                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertEquals(
            "<tab>Fish <and>? Chips?<newline>", replacingEscaper.escape("\tFish &\0 Chips\r\n"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/PathTraversalCheckerIntegrationTest.groovy

            '''
    
            when:
            fails 'copyEvilZip'
    
            then:
            failureDescriptionContains "Execution failed for task ':copyEvilZip'"
            failure.assertHasErrorOutput "'../../tmp/evil.sh' is not a safe archive entry or path name"
        }
    
        def "UnzipTransform refuses to unzip evil.zip"() {
            given:
            buildFile """
                def artifactType = Attribute.of('artifactType', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              submittingTaskQueue.nextTask = task;
              // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer).
              submittingTaskQueue.nextExecutor = requireNonNull(delegate);
              delegate = null;
            } else {
              // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer).
              Executor localDelegate = requireNonNull(delegate);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Interners.java

        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h

    //   Unlike other linked_ptr implementations, in this implementation
    //   a linked_ptr object is thread-safe in the sense that:
    //     - it's safe to copy linked_ptr objects concurrently,
    //     - it's safe to copy *from* a linked_ptr and read its underlying
    //       raw pointer (e.g. via get()) concurrently, and
    //     - it's safe to write to two linked_ptrs that point to the same
    //       shared object concurrently.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "inserting into an undefined property is undefined-safe"() {
            given:
            property.set((Map) null)
            property.insert('k4', '4')
    
            expect:
            assertValueIs(['k4': '4'])
        }
    
        def "inserting after putting an undefined element provider is undefined-safe"() {
            given:
            property.putAll(Providers.of([k1: '1', k2: '2']))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Interners.java

        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/tracemap.go

    // Simple append-only thread-safe hash map for tracing.
    // Provides a mapping between variable-length data and a
    // unique ID. Subsequent puts of the same data will return
    // the same ID. The zero value is ready to use.
    //
    // Uses a region-based allocation scheme internally, and
    // reset clears the whole map.
    //
    // It avoids doing any high-level Go operations so it's safe
    // to use even in sensitive contexts.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

        "meshConfig.defaultConfig.tracing.stackdriver.maxNumberOfMessageEvents" "Istio supported tracers"
    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top