Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,229 for Mode (0.17 sec)

  1. tests/test_read_with_orm_mode.py

                return f"{self.name} {self.lastname}"
    
            class Config:
                orm_mode = True
                read_with_orm_mode = True
    
        class PersonCreate(PersonBase):
            pass
    
        class PersonRead(PersonBase):
            full_name: str
    
            class Config:
                orm_mode = True
    
        app = FastAPI()
    
        @app.post("/people/", response_model=PersonRead)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                return
            }
    
            writeGenericArguments(sw, arguments, parameters, mode)
        }
    
        private fun writeGenericArguments(
            sw: JvmSignatureWriter,
            arguments: List<TypeProjection>,
            parameters: List<TypeParameterDescriptor>,
            mode: TypeMappingMode
        ) {
            with(KotlinTypeMapper) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. .github/workflows/run-mint.sh

    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio2
    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio6
    
    docker run --rm --net=mint_default \
    	--name="mint-${MODE}-${JOB_NAME}" \
    	-e SERVER_ENDPOINT="nginx:9000" \
    	-e ACCESS_KEY="${ACCESS_KEY}" \
    	-e SECRET_KEY="${SECRET_KEY}" \
    	-e ENABLE_HTTPS=0 \
    	-e MINT_MODE="${MINT_MODE}" \
    	docker.io/minio/mint:edge
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Oct 01 03:29:45 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

        }
    
        private int fid;
        private int mode;
        private long offset;
    
    
        /**
         * @param fid
         *            the fid to set
         */
        public void setFid ( int fid ) {
            this.fid = fid;
        }
    
    
        /**
         * @param mode
         *            the mode to set
         */
        public final void setMode ( int mode ) {
            this.mode = mode;
        }
    
    
        /**
         * @param offset
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.log2(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int log10(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.log10(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int sqrt(int reps) {
        int tmp = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 30 13:06:20 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    import com.google.caliper.Param;
    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
         *
         * @param dominant the node
         * @param recessive if {@code null}, nothing will happen
         * @return the merged node
         */
        @Nullable
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            return result
        }
    
        private fun asPsiTypeElement(type: KotlinType, useSitePosition: PsiElement, mode: TypeMappingMode): PsiTypeElement? {
            if (type !is SimpleTypeMarker) return null
    
            val signatureWriter = BothSignatureWriter(BothSignatureWriter.Mode.SKIP_CHECKS)
            typeMapper.mapType(type, mode, signatureWriter)
    
            val canonicalSignature = signatureWriter.toString()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/ToDoubleRounder.java

      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
      abstract X minus(X a, X b);
    
      /** Rounds {@code x} to a {@code double}. */
      final double roundToDouble(X x, RoundingMode mode) {
        checkNotNull(x, "x");
        checkNotNull(mode, "mode");
        double roundArbitrarily = roundToDoubleArbitrarily(x);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/BigDecimalMath.java

      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top