Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 3,407 for rint (0.02 sec)

  1. tests/test_tutorial/test_python_types/test_tutorial009c.py

        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    def test_say_hi(module: ModuleType):
        with patch("builtins.print") as mock_print:
            module.say_hi("FastAPI")
    
        mock_print.assert_called_once_with("Hey FastAPI!")
    
        with pytest.raises(
            TypeError,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		return nil, err
    	}
    
    	partQuorumMap := make(map[int]int)
    	for _, driveParts := range objectParts {
    		partsWithMetaCount := make(map[int]int, len(driveParts))
    		// part files can be either part.N or part.N.meta
    		for _, partPath := range driveParts {
    			var partNum int
    			if _, err := fmt.Sscanf(partPath, "part.%d", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

              .isTrue();
        }
      }
    
      public void testCompare() {
        for (byte x : VALUES) {
          for (byte y : VALUES) {
            // Only compare the sign of the result of compare().
            int expected = Byte.compare(x, y);
            int actual = SignedBytes.compare(x, y);
            if (expected == 0) {
              assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    ino.kochi.jp
    instance.datadetect.com
    instances.spawn.cc
    institute
    insurance
    insurance.aero
    insure
    int
    int.ar
    int.az
    int.bo
    int.ci
    int.cv
    int.eu.org
    int.in
    int.la
    int.lk
    int.mv
    int.mw
    int.ni
    int.pt
    int.ru
    int.tj
    int.ve
    int.vn
    international
    internet-dns.de
    internet.in
    intl.tn
    intuit
    inuyama.aichi.jp
    investments
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

        protected final long tookMs;
    
        /**
         * The list of popular words.
         */
        protected final List<String> words;
    
        /**
         * The number of popular words.
         */
        protected final int num;
    
        /**
         * The total number of words.
         */
        protected final long total;
    
        /**
         * The list of suggested items.
         */
        protected final List<SuggestItem> items;
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

        /**
         * <b>Warning</b>: ignored (always return <code>0 == Logger.LEVEL_DEBUG</code>).
         */
        @Override
        public int getThreshold() {
            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>null</code>).
         */
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            int buildNumber = metadata.metadata.getVersioning().getSnapshot().getBuildNumber();
            assertEquals(1, buildNumber);
        }
    
        @Test
        void buildNumberSet() {
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), 42);
            metadata.merge(new Metadata());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. callbacks/helper_test.go

    				"name": "my name",
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "name"}},
    				Values:  [][]interface{}{{"my name"}},
    			},
    		},
    		{
    			name: "Test convert int value",
    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

      final Map<E, N> inEdgeMap;
    
      /** Keys are edges outgoing from the origin node, values are the target node. */
      final Map<E, N> outEdgeMap;
    
      private int selfLoopCount;
    
      AbstractDirectedNetworkConnections(Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) {
        this.inEdgeMap = checkNotNull(inEdgeMap);
        this.outEdgeMap = checkNotNull(outEdgeMap);
        this.selfLoopCount = checkNonNegative(selfLoopCount);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class DoubleArrayAsListTest extends TestCase {
    
      private static List<Double> asList(Double[] values) {
        double[] temp = new double[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Doubles.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top