Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 3,052 for get2 (0.04 sec)

  1. cmd/signature-v2.go

    func doesPolicySignatureV2Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	accessKey := formValues.Get(xhttp.AmzAccessKeyID)
    
    	r := &http.Request{Header: formValues}
    	cred, _, s3Err := checkKeyValid(r, accessKey)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    	policy := formValues.Get("Policy")
    	signature := formValues.Get(xhttp.AmzSignatureV2)
    	if !compareSignatureV2(signature, calculateSignatureV2(policy, cred.SecretKey)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                            op.shardSize(fessConfig.getSearchlogAggShardSizeAsInteger());
                        }
                    }, null);
                });
                final Terms agg = list.getAggregations().get(SearchLogPager.LOG_TYPE_CLICK_COUNT);
                final List<? extends Terms.Bucket> buckets = agg.getBuckets();
                updatePagerByAgg(pager, buckets.size());
                return buckets.stream().map(e -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LongAddables.java

              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new PureJavaLongAddable();
                }
              };
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    for (DispatcherMeta.Field option : field.getOptions().get()) {
                        listPromptBuilder
                                .newItem()
                                .name(
                                        option.getDefaultValue().isPresent()
                                                ? option.getDefaultValue().get()
                                                : option.getKey())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

      }
    
      @IgnoreJRERequirement // used only when Path is available
      private static final class JavaNioCreator extends TempFileCreator {
        @Override
        File createTempDir() {
          try {
            return java.nio.file.Files.createTempDirectory(
                    Paths.get(JAVA_IO_TMPDIR.value()), /* prefix= */ null, directoryPermissions.get())
                .toFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_response/test_tutorial001.py

    from docs_src.custom_response.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_get_custom_response():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py

    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1020 bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(null, "PROBLEM3", -1, -1, null);
    
            assertEquals("", collector.getProblems().get(0).getSource());
            assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());
            assertEquals("SOURCE_PROBLEM3", collector.getProblems().get(2).getSource());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_py310.py

        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=list[HeroPublic])
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ):
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}", response_model=HeroPublic)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        return ArrayListMultimap.create();
      }
    
      /** Confirm that get() returns a List implementing RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top