Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 169 for 42 (0.01 sec)

  1. tests/query_test.go

    	}
    
    	rows.Close()
    }
    
    func TestSelectWithArrayInput(t *testing.T) {
    	DB.Save(&User{Name: "select_with_array", Age: 42})
    
    	var user User
    	DB.Select([]string{"name", "age"}).Where("age = 42 AND name = ?", "select_with_array").First(&user)
    
    	if user.Name != "select_with_array" || user.Age != 42 {
    		t.Errorf("Should have selected both age and name")
    	}
    }
    
    func TestCustomizedTypePrimaryKey(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

             * Validation for Maven 4.0 POM format.
             */
            V40,
    
            /**
             * Validation for Maven 4.1 POM format.
             */
            V41,
    
            /**
             * Validation for Maven 4.2 POM format.
             */
            V42
        }
    
        /**
         * Gets the identifier of the model from which the problem originated. The identifier is derived from the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/path-params.md

      ]
    }
    ```
    
    Çünkü burada `item_id` yol parametresi `int` tipinde bir değer beklerken `"foo"` yani `string` tipinde bir değer almıştı.
    
    Aynı hata <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> sayfasında olduğu gibi `int` yerine `float` bir değer verseydik de ortaya çıkardı.
    
    /// check | Ek bilgi
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/path-params.md

    ```
    тому що параметр шляху має значення `"foo"`, яке не є типом `int`.
    
    Таку саму помилку отримаємо, якщо передати `float` замість `int`, як бачимо, у цьому прикладі: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Примітка
    
    Отже,  **FastAPI** надає перевірку типів з таким самим оголошенням типу в Python.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertSame(dataMap, result);
        }
    
        public void test_addClickCountField() {
            searchLogHelper.clickCount = 42;
    
            Map<String, Object> doc = new HashMap<>();
            indexUpdateCallback.addClickCountField(doc, "http://example.com", "click_count");
    
            assertEquals(42, doc.get("click_count"));
        }
    
        public void test_addFavoriteCountField() {
            searchLogHelper.favoriteCount = 99L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. cmd/object-api-putobject_test.go

    		18: {bucketName: bucket, objName: object, inputData: nilBytes, inputMeta: map[string]string{"answer": "42"}, inputDataSize: int64(len(nilBytes)), expectedMd5: getMD5Hash(nilBytes)},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
      }
    
      @GwtIncompatible // weigher
      public void testWeigher_withMaximumSize() {
        assertThrows(
            IllegalStateException.class,
            () -> CacheBuilder.newBuilder().weigher(constantWeigher(42)).maximumSize(1));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
      }
    
      @GwtIncompatible // weigher
      public void testWeigher_withMaximumSize() {
        assertThrows(
            IllegalStateException.class,
            () -> CacheBuilder.newBuilder().weigher(constantWeigher(42)).maximumSize(1));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

              .put(132, 0xa784bd0a1f22cc7fL)
              .put(105, 0xf19118e187456638L)
              .put(84, 0x3e2e58f9196abfe5L)
              .put(67, 0xd38ae3dec0107aeaL)
              .put(53, 0xea3033885868e10eL)
              .put(42, 0x1394a146d0d7e04bL)
              .put(33, 0x9962499315d2e8daL)
              .put(26, 0x0849f5cfa85489b5L)
              .put(20, 0x83b395ff19bf2171L)
              .put(16, 0x9d33dd141bd55d9aL)
              .put(12, 0x196248eb0b02466aL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
        // Won't compile: map.putInstance(Double.class, new Long(42));
      }
    
      public void testNull() {
        assertThrows(
            NullPointerException.class,
            () -> map.putInstance((TypeToken<Integer>) null, Integer.valueOf(1)));
        map.putInstance(Integer.class, null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top