Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 3,996 for get3 (0.05 sec)

  1. tests/test_security_http_basic_realm_description.py

    security = HTTPBasic(realm="simple", description="HTTPBasic scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Security(security)):
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            return !isEmptyArray(conditions.get(AS_Q))//
                    || !isEmptyArray(conditions.get(AS_EPQ))//
                    || !isEmptyArray(conditions.get(AS_OQ))//
                    || !isEmptyArray(conditions.get(AS_NQ))//
                    || !isEmptyArray(conditions.get(AS_TIMESTAMP))//
                    || !isEmptyArray(conditions.get(AS_SITESEARCH))//
                    || !isEmptyArray(conditions.get(AS_FILETYPE));
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

                    (Integer) combination.get(0),
                    (Integer) combination.get(1),
                    (Integer) combination.get(2),
                    (DurationSpec) combination.get(3),
                    (DurationSpec) combination.get(4),
                    (DurationSpec) combination.get(5),
                    (Strength) combination.get(6),
                    (Strength) combination.get(7));
              }
            });
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertThat(table.get("foo", 2)).isNull();
        assertThat(table.get("bar", 3)).isNull();
        assertThat(table.get("cat", 1)).isNull();
        assertThat(table.get("foo", null)).isNull();
        assertThat(table.get(null, 1)).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. tests/test_top_level_security_scheme_in_openapi.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    
    def test_get_root():
        response = client.get("/", headers={"Authorization": "Bearer token"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            final Set<String> analyzerNames = analyzerMap.get(analyzerSettingsIndexName);
            final String analyzerName;
            if (StringUtil.isNotBlank(field) && fieldAnalyzerMapping.containsKey(field)
                    && fieldAnalyzerMapping.get(field).readingAnalyzer != null) {
                analyzerName = fieldAnalyzerMapping.get(field).readingAnalyzer;
            } else {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value of property as {@link String}.
         * @param propertyKey The key of the property. (NotNull)
         * @return The value of found property. (NotNull: if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

              }
            };
    
        cache.put(0, 10);
    
        assertThat(cache.get(0, loader)).isEqualTo(10);
        assertThat(cache.get(20, loader)).isEqualTo(1);
        assertThat(cache.get(34, loader)).isEqualTo(2);
    
        cache.invalidate(0);
        assertThat(cache.get(0, loader)).isEqualTo(3);
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertThat(cache.get(0, loader)).isEqualTo(4);
      }
    
      @Test
      public void sizeConstraint() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            this.leaseState = leaseState;
            this.leaseFlags = 0;
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this lease request
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. tests/test_dependency_cache.py

        return count
    
    
    @app.get("/counter/")
    async def get_counter(count: int = Depends(dep_counter)):
        return {"counter": count}
    
    
    @app.get("/sub-counter/")
    async def get_sub_counter(
        subcount: int = Depends(super_dep), count: int = Depends(dep_counter)
    ):
        return {"counter": count, "subcounter": subcount}
    
    
    @app.get("/sub-counter-no-cache/")
    async def get_sub_counter_no_cache(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 23 13:30:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top