Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 688 for Floats (0.19 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
        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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
      static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph.";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. tests/test_serialize_response_dataclass.py

    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. tests/test_serialize_response_model.py

    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(alias="aliased_name")
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassUtil.java

            wrapperToPrimitiveMap.put(Short.class, Short.TYPE);
            wrapperToPrimitiveMap.put(Integer.class, Integer.TYPE);
            wrapperToPrimitiveMap.put(Long.class, Long.TYPE);
            wrapperToPrimitiveMap.put(Float.class, Float.TYPE);
            wrapperToPrimitiveMap.put(Double.class, Double.TYPE);
    
            primitiveToWrapperMap.put(Boolean.TYPE, Boolean.class);
            primitiveToWrapperMap.put(Character.TYPE, Character.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"},
    		{"DATA", "·B(SB)/4,$0", ""},
    		{"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"},
    		{"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
    		{"DATA", "·E(SB)/4,$·A(SB)", "bad addr size for DATA argument: 4"},
    		{"DATA", "·F(SB)/8,$·A(SB)", ""},
    		{"DATA", "·G(SB)/5,$\"abcde\"", ""},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_download.jsp

                                <la:message key="labels.dict_protwords_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_download.jsp

                                <la:message key="labels.dict_stopwords_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
        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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp

                                <la:message key="labels.bad_word_configuration"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/badword">
                                    <la:message key="labels.bad_word_link_list"/>
                                </la:link></li>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.5K bytes
    - Viewed (0)
Back to top