Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 1,936 for There (0.03 sec)

  1. fastapi/encoders.py

    def decimal_encoder(dec_value: Decimal) -> Union[int, float]:
        """
        Encodes a Decimal as int of there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where a integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    	lastBlockSize := totalLength % e.blockSize
    	lastShardSize := ceilFrac(lastBlockSize, int64(e.dataBlocks))
    	return numShards*e.ShardSize() + lastShardSize
    }
    
    // ShardFileOffset - returns the effective offset where erasure reading begins.
    func (e *Erasure) ShardFileOffset(startOffset, length, totalLength int64) int64 {
    	shardSize := e.ShardSize()
    	shardFileSize := e.ShardFileSize(totalLength)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Utf8.java

          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += (0x7f - c) >>> 31; // branch free!
          } else {
            utf8Length += 2;
            // We can't use Character.isSurrogate(c) here and below because of GWT.
            if (MIN_SURROGATE <= c && c <= MAX_SURROGATE) {
              // Check that we have a well-formed surrogate pair.
              if (Character.codePointAt(sequence, i) == c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/Dispatcher.java

        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
        // All this makes me really wonder if there's any value in queueing here at all. A dispatcher
        // that simply loops through the subscribers and dispatches the event to each would actually
        // probably provide a stronger order guarantee, though that order would obviously be different
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

          make install
    
    
    # Create the devtoolset libstdc++ linkerscript that links dynamically against
    # the system libstdc++ 4.4 and provides all other symbols statically.
    # Note that the installation path for libstdc++ here is ${TARGET}/usr/lib64/
    mv "${TARGET}/usr/lib64/libstdc++.so.${LIBSTDCXX_VERSION}" \
       "${TARGET}/usr/lib64/libstdc++.so.${LIBSTDCXX_VERSION}.backup"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. cmd/kms-handlers_test.go

    			// It looks like this should allow listing any key that isn't "default-test-key", however
    			// the policy engine matches all Deny statements first, without regard to Resources (for KMS).
    			// This is for backwards compatibility where historically KMS statements ignored Resources.
    			policy: `{
    						"Effect": "Allow",
    						"Action": ["kms:ListKeys"]
    					},{
    						"Effect": "Deny",
    						"Action": ["kms:ListKeys"],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            }
        }
    
        @Override
        public void addResource(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Resource resource) {
            // TODO: we should not modify the underlying model here, but resources should be stored
            // TODO: in a separate field in the project, however, that could break v3 plugins
            MavenProject prj = getMavenProject(nonNull(project, "project"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      // +listType=map
      // +listMapKey=type
      // +optional
      repeated CertificateSigningRequestCondition conditions = 1;
    
      // If request was approved, the controller will place the issued certificate here.
      // +listType=atomic
      // +optional
      optional bytes certificate = 2;
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof TypeParameterSignature) {
            TypeParameterSignature other = (TypeParameterSignature) obj;
            /*
             * The name is here only for display purposes; <E extends Number> and <T
             * extends Number> are equivalent.
             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof TypeParameterSignature) {
            TypeParameterSignature other = (TypeParameterSignature) obj;
            /*
             * The name is here only for display purposes; <E extends Number> and <T
             * extends Number> are equivalent.
             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top