Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 980 for Statfs (0.06 seconds)

  1. guava-tests/test/com/google/common/math/PairedStatsTest.java

          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          LinearTransformation fit = stats.leastSquaresFit();
          if (values.hasAnyNonFinite()) {
            assertLinearTransformationNaN(fit);
          } else {
            assertDiagonalLinearTransformation(
                fit,
                stats.xStats().mean(),
                stats.yStats().mean(),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                    setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "status", 0);
                } else {
                    // second next -> no more files
                    setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "status", NtStatus.NT_STATUS_NO_MORE_FILES);
                    setField(resp, Trans2FindFirst2Response.class, "lastName", null);
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. tests/test_dependency_paramless.py

        dependencies=[Security(process_auth, scopes=["a", "b"])],
    )
    def get_parameterless_with_scopes():
        return {"status": "ok"}
    
    
    @app.get(
        "/parameterless-without-scopes",
        dependencies=[Security(process_auth)],
    )
    def get_parameterless_without_scopes():
        return {"status": "ok"}
    
    
    client = TestClient(app)
    
    
    def test_get_credentials():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. docs_src/security/tutorial005_py310.py

        current_user: User = Security(get_current_active_user, scopes=["items"]),
    ):
        return [{"item_id": "Foo", "owner": current_user.username}]
    
    
    @app.get("/status/")
    async def read_system_status(current_user: User = Depends(get_current_user)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. docs_src/security/tutorial004_an_py39.py

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, Union
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. internal/http/headers.go

    	MinIOSourceDeleteMarkerDelete = "x-minio-source-deletemarker-delete"
    
    	// Header indicates permanent delete replication status.
    	MinIODeleteReplicationStatus = "X-Minio-Replication-Delete-Status"
    	// Header indicates delete-marker replication status.
    	MinIODeleteMarkerReplicationStatus = "X-Minio-Replication-DeleteMarker-Status"
    	// Header indicates if its a GET/HEAD proxy request for active-active replication
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. cmd/metrics-resource.go

    		}
    		if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    			labels := map[string]string{}
    			stats := hm.Mem.Info
    			updateResourceMetrics(memSubsystem, total, float64(stats.Total), labels, false)
    			updateResourceMetrics(memSubsystem, memUsed, float64(stats.Used), labels, false)
    			perc := math.Round(float64(stats.Used*100*100)/float64(stats.Total)) / 100
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  8. tests/test_reponse_set_reponse_code_empty.py

        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
        assert response.status_code == 400 and response.content
        assert response.json() == {"msg": "Status overwritten", "id": 1}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  9. cmd/bucket-policy-handlers_test.go

    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    		if recV4.Code != testCase.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, recV4.Code)
    		}
    		// read the response body.
    		bucketPolicyReadBuf, err := io.ReadAll(recV4.Body)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  10. docs_src/security/tutorial004_an_py310.py

    from datetime import datetime, timedelta, timezone
    from typing import Annotated
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top