Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 474 for convenient (0.16 sec)

  1. src/cmd/compile/internal/syntax/testdata/chans.go

    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    // This is a convenient way to exit a goroutine sending values when
    // the receiver stops reading them.
    func Ranger[T any]() (*Sender[T], *Receiver[T]) {
    	c := make(chan T)
    	d := make(chan bool)
    	s := &Sender[T]{values: c, done: d}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/model/util.go

    	return matcher.MetadataListValueMatcher(filters.EnvoyJwtFilterName, append([]string{filters.EnvoyJwtFilterPayload}, claims...), value, true)
    }
    
    // MetadataMatcherForJWTClaims is a convenient method for generating metadata matcher for JWT claims.
    func MetadataMatcherForJWTClaims(claims []string, value *matcherpb.StringMatcher, useExtendedJwt bool) *matcherpb.MetadataMatcher {
    	if useExtendedJwt {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/net/textproto/textproto.go

    // key: value headers, lines wrapped with leading spaces
    // on continuation lines, and whole text blocks ending
    // with a dot on a line by itself.
    //
    // [Writer], to write dot-encoded text blocks.
    //
    // [Conn], a convenient packaging of [Reader], [Writer], and [Pipeline] for use
    // with a single network connection.
    package textproto
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"net"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_doc.txt

    stderr '^doc: cannot find module providing package example.com/hello: module lookup disabled by GOPROXY=off$'
    
    # When in a module with a vendor directory, doc should use the vendored copies
    # of the packages. 'std' and 'cmd' are convenient examples of such modules.
    #
    # When in those modules, the "// import" comment should refer to the same import
    # path used in source code, not to the absolute path relative to GOROOT.
    
    cd $GOROOT/src
    env GOFLAGS=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h

      }
    
      // Append a multiline string of source code, left-justified (not indented).
      // Note: Trims leading/trailing whitespace including newlines, making this
      //       method convenient for multiline raw strings.
      // Newlines ('\n') are allowed/expected.
      Renderer &CodeLines(const string &text);
      template <typename... Args>
      Renderer CodeLines(absl::string_view text, const Args &...args) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/extensions/BehindFlagFeatureInterceptor.groovy

    import org.spockframework.runtime.extension.IMethodInvocation
    
    import java.lang.annotation.Annotation
    
    /**
     * A base interceptor for features hidden behind a flag, convenient for executing tests with the flag on or off.
     * If a test only makes sense if the feature is enabled, then it needs to be annotated with {@link RequiredFeatures}.
     */
    @CompileStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * #notifyFailed(Throwable)} instead.
       *
       * <p>This method should return promptly; prefer to do work on a different thread where it is
       * convenient. It is invoked exactly once on service startup, even when {@link #startAsync} is
       * called multiple times.
       */
      @ForOverride
      protected abstract void doStart();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. src/hash/maphash/maphash.go

    // or otherwise recreated in a different process.
    type Seed struct {
    	s uint64
    }
    
    // Bytes returns the hash of b with the given seed.
    //
    // Bytes is equivalent to, but more convenient and efficient than:
    //
    //	var h Hash
    //	h.SetSeed(seed)
    //	h.Write(b)
    //	return h.Sum64()
    func Bytes(seed Seed, b []byte) uint64 {
    	state := seed.s
    	if state == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractService.java

       * #notifyFailed(Throwable)} instead.
       *
       * <p>This method should return promptly; prefer to do work on a different thread where it is
       * convenient. It is invoked exactly once on service startup, even when {@link #startAsync} is
       * called multiple times.
       */
      @ForOverride
      protected abstract void doStart();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserQuestions.java

         */
        @Nullable
        Boolean askYesNoQuestion(String question);
    
        /**
         * Asks the user a question that has a boolean result and returns the answer.
         *
         * <p>The client UI is free to choose a convenient representation for boolean values, for example
         * allowing the user to type 'y' or 'n' or presenting a checkbox. The user is not required to answer 'true' or 'false'
         *
         * @param question The text of the question.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top