Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 373 for Double (0.04 seconds)

  1. tests/test_validate_response.py

        if send_none:
            return None
        else:
            return {"name": "invalid", "price": 3.2}
    
    
    @app.get("/items/innerinvalid", response_model=Item)
    def get_innerinvalid():
        return {"name": "double invalid", "price": "foo", "owner_ids": ["foo", "bar"]}
    
    
    @app.get("/items/invalidlist", response_model=list[Item])
    def get_invalidlist():
        return [
            {"name": "foo"},
            {"name": "bar", "price": "bar"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>It is strongly encouraged to use {@link #add(String, double)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(double value) {
          return addUnconditionalHolder(String.valueOf(value));
        }
    
        /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  4. schema/utils_test.go

    	settings := ParseTagSetting(reflect.StructTag(tag).Get("gorm"), ";")
    	if v, ok := settings["EXPRESSION"]; !ok || v != `to_tsvector('english', "Name")` {
    		t.Errorf("ParseTagSetting did not handle escaped double quotes correctly: got %#v", v)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(100, 33, 64);
        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .longOpt("activate-profiles")
                        .desc(
                                "Comma-delimited list of profiles to activate. Don't use spaces between commas or double quote the full list. Prefixing a profile with ! excludes it, and ? marks it as optional.")
                        .hasArg()
                        .get());
                options.addOption(Option.builder(SUPPRESS_SNAPSHOT_UPDATES)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
                if (formal == Double.TYPE
                        && (actual == Double.class
                                || actual == Float.class
                                || actual == Long.class
                                || actual == Integer.class
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putFloat(Float.intBitsToFloat(0x04030201));
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        TestHasher hasher = new TestHasher();
        hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testCorrectExceptions() {
        TestHasher hasher = new TestHasher();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return double
         */
        private double getDoubleValue(String s, String attribute, XmlPullParser parser, boolean strict)
                throws XmlPullParserException {
            if (s != null) {
                try {
                    return Double.valueOf(s).doubleValue();
                } catch (NumberFormatException nfe) {
                    if (strict) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top