Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,066 for Statfs (0.13 sec)

  1. docs_src/security/tutorial007.py

    import secrets
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    def get_current_username(credentials: HTTPBasicCredentials = Depends(security)):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                itemMap.put("result", item.status().name());
                if (item.isFailed()) {
                    itemMap.put("message", item.getFailureMessage());
                } else {
                    itemMap.put("id", item.getId());
                }
                return itemMap;
            }).toList()).status(response.hasFailures() ? Status.FAILED : Status.OK).result());
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock_test.go

    		if o.Status != tt.expected.Status {
    			t.Fatalf("Case %d expected %v, got %v", i, tt.expected.Status, o.Status)
    		}
    	}
    }
    
    func TestParseObjectLegalHold(t *testing.T) {
    	tests := []struct {
    		value       string
    		expectedErr error
    		expectErr   bool
    	}{
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><LegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>string</Status></LegalHold>`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server_test.go

    		"foo-v6",
    		netip.MustParseAddr("e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	podIPs := []netip.Addr{netip.MustParseAddr(pod.Status.PodIPs[0].IP), netip.MustParseAddr(pod.Status.PodIPs[1].IP)}
    	_, err := m.addPodToHostNSIpset(pod, podIPs)
    	assert.NoError(t, err)
    
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // +optional
      optional IngressSpec spec = 2;
    
      // status is the current state of the Ingress.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional IngressStatus status = 3;
    }
    
    // IngressBackend describes all endpoints for a given service and port.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/batch/v1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobSpec spec = 2;
    
      // Current status of a cron job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional CronJobStatus status = 3;
    }
    
    // CronJobList is a collection of cron jobs.
    message CronJobList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005.py

        access_token = get_access_token()
        response = client.get(
            "/status/", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"status": "ok"}
    
    
    def test_read_system_status_no_token():
        response = client.get("/status/")
        assert response.status_code == 401, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Service.java

     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-operation-configuration.md

    `404`와 같은 `int`형 코드를 직접 전달할수 있습니다.
    
    하지만 각 코드의 의미를 모른다면, `status`에 있는 단축 상수들을 사용할수 있습니다:
    
    ```Python hl_lines="3  17"
    {!../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    각 상태 코드들은 응답에 사용되며, OpenAPI 스키마에 추가됩니다.
    
    /// note | "기술적 세부사항"
    
    다음과 같이 임포트하셔도 좋습니다. `from starlette import status`.
    
    **FastAPI**는 개발자 여러분의 편의를 위해서 `starlette.status`와 동일한 `fastapi.status`를 제공합니다. 하지만 Starlette에서 직접 온 것입니다.
    
    ///
    
    ## 태그
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top