Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 7,081 for returns (0.13 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap
     */
    class SimpleIdnaMappingTable internal constructor(
      internal val mappings: List<Mapping>,
    ) {
      /**
       * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed.
       */
      fun map(
        codePoint: Int,
        sink: BufferedSink,
      ): Boolean {
        val index =
          mappings.binarySearch {
            when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      }
    
      char getLeafNodeCode() {
        return leafNodeCode;
      }
    
      char getInnerNodeCode() {
        return innerNodeCode;
      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional string subresource = 1;
    
      // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
      // Some subresources do not return normal resources, these will have null return types.
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
    
      // acceptedTypes describes the kinds that this endpoint accepts.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. internal/config/callhome/callhome.go

    func (c *Config) Enabled() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable
    }
    
    // FrequencyDur - returns the currently configured callhome frequency
    func (c *Config) FrequencyDur() time.Duration {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if c.Frequency == 0 {
    		return callhomeCycleDefault
    	}
    
    	return c.Frequency
    }
    
    // Update updates new callhome frequency
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. internal/hash/sha256/sh256.go

    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. buildscripts/gen-ldflags.go

    	if err != nil {
    		panic(err)
    	}
    	relTag = strings.Replace(relTag, ",", "", -1)
    	relTag = relPrefix + "." + relTag
    	if relSuffix != "" {
    		relTag += "." + relSuffix
    	}
    
    	return relTag, t
    }
    
    // commitID returns the abbreviated commit-id hash of the last commit.
    func commitID() string {
    	// git log --format="%H" -n1
    	var (
    		commit []byte
    		err    error
    	)
    	cmdName := "git"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 16 23:10:48 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         */
        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional or mandatory.
         * Contrarily to {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
         * The value is computed during the dependencies collection phase.
         *
         * @return {@code true} if the dependency is optional, or {@code false} if mandatory
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

        @Nonnull
        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
            return new PathSource(nonNull(path, "path cannot be null"), location);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_gen.go

    		return
    	}
    	err = en.WriteBool(z.Complete)
    	if err != nil {
    		err = msgp.WrapError(err, "Complete")
    		return
    	}
    	// write "fl"
    	err = en.Append(0xa2, 0x66, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Failed)
    	if err != nil {
    		err = msgp.WrapError(err, "Failed")
    		return
    	}
    	// write "cnl"
    	err = en.Append(0xa3, 0x63, 0x6e, 0x6c)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    ```
    
    ...and pass whatever that returns as the value of the dependency in our *path operation function* as the parameter `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top