Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 589 for barT (0.07 sec)

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

        List<Object> result = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          assertThat(result.get(i)).isInstanceOf(InvalidCacheLoadException.class);
        }
    
        // subsequent calls should call the loader again, not get the old exception
        try {
          cache.getUnchecked("bar");
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                    },
                ]
            }
        )
    
    
    def test_post_body_json(client: TestClient):
        response = client.post("/files/", json={"file": "Foo", "token": "Bar"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

                    },
                ]
            }
        )
    
    
    @needs_py39
    def test_post_body_json(client: TestClient):
        response = client.post("/files/", json={"file": "Foo", "token": "Bar"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

                                                 "description", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell2 = TFE_MonitoringGetCellCounter2(counter2, "foo", "bar");
      TFE_MonitoringCounterCellIncrementBy(cell2, 2);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell2), 2);
    
      TFE_MonitoringDeleteCounter1(counter1);
      TFE_MonitoringDeleteCounter2(counter2);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  7. tests/preload_suits_test.go

    	if err := DB.Save(levelA1).Error; err != nil {
    		t.Error(err)
    	}
    
    	want := []*LevelA2{
    		{
    			Value: "bar",
    			LevelA3s: []*LevelA3{
    				{
    					Value:   "qux",
    					LevelA1: levelA1,
    				},
    			},
    		},
    		{
    			Value:    "bar 2",
    			LevelA3s: []*LevelA3{},
    		},
    	}
    	for _, levelA2 := range want {
    		if err := DB.Save(levelA2).Error; err != nil {
    			t.Error(err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/advanced-dependencies.md

    ///
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial011.py!}
    ```
    
    ////
    
    Und auf diese Weise können wir unsere Abhängigkeit „parametrisieren“, die jetzt `"bar"` enthält, als das Attribut `checker.fixed_content`.
    
    ## Die Instanz als Abhängigkeit verwenden
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

                    },
                ]
            }
        )
    
    
    def test_post_body_json(client: TestClient):
        response = client.post("/files/", json={"file": "Foo", "token": "Bar"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(recordedRequest1.sequenceNumber).isEqualTo(0)
        val request2 = Request.Builder().url(server.url("/bar")).build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.body.string()).isEqualTo("ABC")
        val recordedRequest2 = server.takeRequest()
        assertThat(recordedRequest2.requestLine).isEqualTo("GET /bar HTTP/1.1")
        assertThat(recordedRequest2.sequenceNumber).isEqualTo(1)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top