Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 236 for getPins (0.11 sec)

  1. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                    .setQuery(queryBuilder).setSize(0).setTrackTotalHits(true).execute().actionGet(fessConfig.getIndexSearchTimeout());
            final TotalHits totalHits = countResponse.getHits().getTotalHits();
            if (totalHits != null) {
                return totalHits.value;
            }
            return 0;
        }
    
        public long deleteBySessionId(final String sessionId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MoreFiles.java

          //   A) it's not specified that "" is the path to the working directory.
          //   B) if we're getting this path for recursive delete, it's typically not possible to
          //      delete the working dir with a relative path anyway, so it's ok to fail.
          //   C) if we're getting it for opening a new SecureDirectoryStream, there's no need to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

          //   A) it's not specified that "" is the path to the working directory.
          //   B) if we're getting this path for recursive delete, it's typically not possible to
          //      delete the working dir with a relative path anyway, so it's ok to fail.
          //   C) if we're getting it for opening a new SecureDirectoryStream, there's no need to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (originalScope == null) {
                originalScope = Artifact.SCOPE_COMPILE;
            }
    
            if (inheritedScope == null) {
                // direct dependency retains its scope
                effectiveScope = originalScope;
            } else if (Artifact.SCOPE_TEST.equals(originalScope) || Artifact.SCOPE_PROVIDED.equals(originalScope)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    		}
    		if err == nil {
    			if etag != test.ETag {
    				t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag)
    			}
    		}
    	}
    }
    
    // Tests for issue reproduced when getting the right encrypted
    // offset of the object.
    func TestGetDecryptedRange_Issue50(t *testing.T) {
    	rs, err := parseRequestRangeSpec("bytes=594870256-594870263")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator {
        // Make sure we get what we think we're getting, or else this test
        // is pointless
        @SuppressWarnings("cast")
        @Override
        protected Set<String> create(String[] elements) {
          return (ImmutableSet<String>) ImmutableSet.of(elements[0], elements[0]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    @needs_py39
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator {
        // Make sure we get what we think we're getting, or else this test
        // is pointless
        @SuppressWarnings("cast")
        @Override
        protected Set<String> create(String[] elements) {
          return (ImmutableSet<String>) ImmutableSet.of(elements[0], elements[0]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            MavenProperties props2 = new MavenProperties();
            props2.load(new StringReader(config));
            assertEquals(expected, props2);
        }
    
        /**
         * <p>
         * Test getting property.
         * </p>
         *
         * @throws Exception
         */
        @Test
        public void testGettingProperty() throws Exception {
            Object o2 = properties.get("test");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    The exception handler will receive a `Request` and the exception.
    
    ```Python hl_lines="2  14-16"
    {!../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top