Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 219 for 42 (0.15 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(10, 100);
        cache.put(20, 200);
        cache.put(4, 2);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isEqualTo(100);
        assertThat(cache.getIfPresent(20)).isEqualTo(200);
        assertThat(cache.getIfPresent(4)).isEqualTo(2);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            container.singleton("integerComponent", 42);
            CrawlerPooledObjectFactory<Integer> intFactory = new CrawlerPooledObjectFactory<>();
            intFactory.setCrawlerContainer(container);
            intFactory.setComponentName("integerComponent");
    
            Integer intComponent = intFactory.create();
            assertNotNull(intComponent);
            assertEquals(42, intComponent.intValue());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        assertSame(Collections.reverseOrder(), sortedTable.rowComparator());
      }
    
      public void testColumnComparator() {
        sortedTable = TreeBasedTable.create();
        sortedTable.put("", 42, 'x');
        assertSame(Ordering.natural(), sortedTable.columnComparator());
        assertSame(
            Ordering.natural(),
            ((SortedMap<Integer, Character>) sortedTable.rowMap().values().iterator().next())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(ioctlResp.getOutputLength()).thenReturn(42);
    
            byte[] in = new byte[128];
            byte[] out = new byte[256];
    
            // Act
            int n = handle.sendrecv(out, 1, 10, in, 128);
    
            // Assert
            assertEquals(42, n);
            ArgumentCaptor<Smb2IoctlRequest> cap = ArgumentCaptor.forClass(Smb2IoctlRequest.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        checkUnmodifiableMultimap(TreeMultimap.<String, Integer>create(), false, "null", 42);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableTreeMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(TreeMultimap.<String, Integer>create(), false, "null", 42);
        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg syscall (freebsd-386), const AF_INET6_SDP = 42
    pkg syscall (freebsd-386), const AF_INET6_SDP ideal-int
    pkg syscall (freebsd-386), const AF_INET_SDP = 40
    pkg syscall (freebsd-386), const AF_INET_SDP ideal-int
    pkg syscall (freebsd-386), const AF_MAX = 42
    pkg syscall (freebsd-386), const DLT_MATCHING_MAX = 246
    pkg syscall (freebsd-386), const DLT_MPEG_2_TS = 243
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/path-params.md

                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    <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> で見られるように、intのかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、Pythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    表示されたエラーには問題のある箇所が明確に指摘されていることに注意してください。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            translatedName.name.length = 16;
            translatedName.name.maximum_length = 32;
            translatedName.name.buffer = new short[] { 'U', 's', 'e', 'r', 'N', 'a', 'm', 'e' };
            translatedName.sid_index = 42;
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
            NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0);
            translatedName.encode(encodeBuffer);
    
            // Decode from buffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

          --enable-threads=posix \
          --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \
          --with-gcc-major-version-only \
          --with-linker-hash-style="gnu" \
          --with-tune="generic" \
          && \
        make -j 42 && \
        make install
    
    
    # Create the devtoolset libstdc++ linkerscript that links dynamically against
    # the system libstdc++ 4.4 and provides all other symbols statically.
    case "${VERSION}" in
    devtoolset-7)
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top