Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,325 for isSafe (0.23 sec)

  1. android/guava/src/com/google/common/io/CharSequenceReader.java

        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        return hasRemaining() ? seq.charAt(pos++) : -1;
      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSequenceReader.java

        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        return hasRemaining() ? seq.charAt(pos++) : -1;
      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/html/template/content.go

    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	//
    	// Using JS to include valid but untrusted JSON is not safe.
    	// A safe alternative is to parse the JSON with json.Unmarshal and then
    	// pass the resultant object into the template, where it will be
    	// converted to sanitized JSON when presented in a JavaScript context.
    	JS string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerWithExpectations.groovy

    import org.junit.rules.ExternalResource
    import org.slf4j.Logger
    
    /**
     * This test fixture needs to be thread-safe for all operations that are done at execution time:
     *
     * - defining expectations is done serially in 'given', 'when' blocks, so doesn't need to be thread-safe
     * - but handlers, as well as failures, need to be thread-safe
     *
     */
    abstract class ServerWithExpectations extends ExternalResource implements ResettableExpectations {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Escapers.java

        private Builder() {}
    
        /**
         * Sets the safe range of characters for the escaper. Characters in this range that have no
         * explicit replacement are considered 'safe' and remain unescaped in the output. If {@code
         * safeMax < safeMin} then the safe range is empty.
         *
         * @param safeMin the lowest 'safe' character
         * @param safeMax the highest 'safe' character
         * @return the builder instance
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnection.java

     *
     * NOTE: This contract guarantees only partial thread-safety. Configuration and {@link #connect()} are not thread-safe and must be performed by the same thread,
     * generally some configuration thread. Only the stop methods are thread-safe. The other methods will be made thread-safe (or moved somewhere else) later.
     */
    public interface ObjectConnection extends AsyncStoppable, ObjectConnectionBuilder {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/internal/abi/funcpc.go

    // CAREFUL: In programs with plugins, FuncPC* can return different values
    // for the same function (because there are actually multiple copies of
    // the same function in the address space). To be safe, don't use the
    // results of this function in any == expression. It is only safe to
    // use the result as an address at which to start executing code.
    
    // FuncPCABI0 returns the entry PC of the function f, which must be a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 27 21:15:37 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. .github/workflows/people.yml

            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          # Ref: https://github.com/actions/runner/issues/2033
          - name: Fix git safe.directory in container
            run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
          # Allow debugging with tmate
          - name: Setup tmate session
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 07:19:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ModuleVersionIdentifierSerializer.java

    import org.gradle.internal.serialize.Encoder;
    import org.gradle.internal.serialize.Serializer;
    
    import java.io.IOException;
    
    /**
     * A thread-safe and reusable serializer for {@link ModuleVersionIdentifier} if and only if the passed in
     * {@link ImmutableModuleIdentifierFactory} is itself thread-safe.
     */
    public class ModuleVersionIdentifierSerializer implements Serializer<ModuleVersionIdentifier> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top