Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 2,165 for retorno (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/OptionalUtil.java

         * Creates an OptionalEntity from a nullable entity.
         *
         * @param <T> the type of the entity
         * @param entity the entity (can be null)
         * @return the OptionalEntity
         */
        public static <T> OptionalEntity<T> ofNullable(final T entity) {
            return OptionalEntity.ofNullable(entity, () -> {});
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java

        this.collectionGenerator = collectionGenerator;
      }
    
      @Override
      public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator() {
        return collectionGenerator;
      }
    
      @Override
      public Iterator<E> get() {
        return collectionGenerator.createTestSubject().iterator();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_security_api_key_header.py

    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. tests/test_security_api_key_header_description.py

    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @Test
            @DisplayName("isCancel should return true")
            void testIsCancelReturnsTrue() {
                assertTrue(cancel.isCancel());
            }
    
            @Test
            @DisplayName("writeParameterWordsWireFormat should return 0")
            void testWriteParameterWordsReturnsZero() throws Exception {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Assert
                assertEquals(VALID_UUID_STRING, result.toUpperCase(),
                        "toString() should return the correct UUID string for string-constructed UUID");
            }
    
            @Test
            @DisplayName("toString() should return uppercase for UUID created from lowercase string")
            void testToStringFromConstructorWithStringLowercase() {
                // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_linux_test.go

    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    		if a[i] != b[i] {
    			return false
    		}
    	}
    	return true
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/resources/fess_env.properties

    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = [Test]
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Aug 07 04:53:24 UTC 2021
    - 2.2K bytes
    - Viewed (1)
  9. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/admin", dependencies=[Security(get_token, scopes=["read", "write"])])
    async def read_admin():
        return {"message": "Admin Access"}
    
    
    client = TestClient(app)
    
    
    def test_read_admin():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. cmd/storagemetric_string.go

    func (i storageMetric) String() string {
    	if i >= storageMetric(len(_storageMetric_index)-1) {
    		return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top