Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,545 for getD (0.05 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(7, pnList.size());
            assertEquals("1", pnList.get(0));
            assertEquals("2", pnList.get(1));
            assertEquals("3", pnList.get(2));
            assertEquals("4", pnList.get(3));
            assertEquals("5", pnList.get(4));
            assertEquals("6", pnList.get(5));
            assertEquals("7", pnList.get(6));
    
        }
    
        public void test_calculatePageInfo_collapse() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tests/test_security_http_bearer_optional.py

    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Bearer", "credentials": "foobar"}
    
    
    def test_security_http_bearer_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_authorization_code_bearer_description.py

        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_security_oauth2_password_bearer_optional.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False)
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        a.set(-22.0);
        AtomicDouble c = serialClone(a);
        assertNotSame(b, c);
        assertBitEquals(-22.0, a.get());
        assertBitEquals(0.0, b.get());
        assertBitEquals(-22.0, c.get());
        for (double x : VALUES) {
          AtomicDouble d = new AtomicDouble(x);
          assertBitEquals(serialClone(d).get(), d.get());
        }
      }
    
      /** toString returns current value */
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            assertEquals("******@****.***", list.get(0));
            assertEquals("test", list.get(1));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***", false);
            assertEquals(1, list.size());
            assertEquals("******@****.***", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***@hoge.com", true);
            assertEquals(2, list.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    		})
    
    	if len(tgtArns) == 0 {
    		return fmt.Errorf("arn %s specified for resync not found in replication config", opts.arn)
    	}
    	globalReplicationPool.Get().resyncer.RLock()
    	data, ok := globalReplicationPool.Get().resyncer.statusMap[opts.bucket]
    	globalReplicationPool.Get().resyncer.RUnlock()
    	if !ok {
    		data, err = loadBucketResyncMetadata(ctx, opts.bucket, objAPI)
    		if err != nil {
    			return err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
            queryBuilder = queryProcessor.execute(context, query, 1.0f);
            assertTrue(called.get());
            assertTrue(calledFirst.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top