Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 859 for floats (0.06 sec)

  1. docs_src/generate_clients/tutorial002.py

    from typing import List
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 755 bytes
    - Viewed (0)
  2. logger/logger.go

    		if rows == -1 {
    			l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    			l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, rows, sql)
    		}
    	case l.LogLevel == Info:
    		sql, rows := fc()
    		if rows == -1 {
    			l.Printf(l.traceStr, utils.FileWithLineNum(), float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         *
         * @param flags The flags to apply to this message.
         * @param suppliedDomain The supplied authentication domain.
         * @param suppliedWorkstation The supplied workstation name.
         */
        public Type1Message(int flags, String suppliedDomain,
                String suppliedWorkstation) {
            setFlags(getDefaultFlags() | flags);
            setSuppliedDomain(suppliedDomain);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
      }
    
      public void testReadFully() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
      }
    
      public void testReadFully() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess_config.file_config/file_config.json

            "type": "integer"
          },
          "intervalTime": {
            "type": "integer"
          },
          "timeToLive": {
            "type": "integer"
          },
          "boost": {
            "type": "float"
          },
          "available": {
            "type": "boolean"
          },
          "permissions": {
            "type": "keyword"
          },
          "virtualHosts": {
            "type": "keyword"
          },
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    return queryType;
                }
            });
        }
    
        public void test_build_simple() {
            setQueryType("bool");
    
            float titleBoost = 0.5f;
            float contentBoost = 0.05f;
    
            assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), //
                    Map.of("_default", List.of("QUERY")), //
                    Set.of("QUERY"), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess_config.web_config/web_config.json

            "type": "integer"
          },
          "intervalTime": {
            "type": "integer"
          },
          "timeToLive": {
            "type": "integer"
          },
          "boost": {
            "type": "float"
          },
          "available": {
            "type": "boolean"
          },
          "permissions": {
            "type": "keyword"
          },
          "virtualHosts": {
            "type": "keyword"
          },
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top