Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5141 - 5150 of 7,014 for _return (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * CleanArgument
     */
    public class CleanArgument {
        public static String[] cleanArgs(String[] args) {
            try {
                return doCleanArgs(args);
            } catch (RuntimeException e) {
                for (String a : args) {
                    System.out.println("Arg: '" + a + "'");
                }
                throw e;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        }
        if (verbose) {
          val logger = HttpLoggingInterceptor.Logger(::println)
          builder.eventListenerFactory(LoggingEventListener.Factory(logger))
        }
        return builder.build()
      }
    
      fun close() {
        val okHttpClient = client as OkHttpClient
        okHttpClient.connectionPool.evictAll() // Close any persistent connections.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status_test.go

    }
    
    func newXdsClientConfig(config clientConfigInput) *status.ClientConfig {
    	meta := model.NodeMetadata{
    		ClusterID:    cluster.ID(config.clusterID),
    		IstioVersion: config.version,
    	}
    	return &status.ClientConfig{
    		Node: &core.Node{
    			Id:       config.proxyID,
    			Metadata: meta.ToStruct(),
    		},
    		GenericXdsConfigs: []*status.ClientConfig_GenericXdsConfig{
    			{
    				TypeUrl:      v3.ClusterType,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. helm-releases/minio-5.0.1.tgz

    $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Nov 13 10:04:51 UTC 2022
    - 19.8K bytes
    - Viewed (0)
  5. helm-releases/minio-4.0.6.tgz

    $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 24 03:34:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  6. docs_src/app_testing/tutorial002.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocket
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    @app.websocket("/ws")
    async def websocket(websocket: WebSocket):
        await websocket.accept()
        await websocket.send_json({"msg": "Hello WebSocket"})
        await websocket.close()
    
    
    def test_read_main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Feb 08 10:23:07 UTC 2023
    - 757 bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial004.py

        importance: int = Body(gt=0),
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.additional_status_codes.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 738 bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial008d.py

            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 694 bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt_test.go

              "e":"AQAB",
              "alg":"RS256",
              "kid":"2011-04-29"}
           ]
         }`
    		w.Write([]byte(jsonkey))
    	}))
    	return server
    }
    
    func TestJWTHMACType(t *testing.T) {
    	server := initJWKSServer()
    	defer server.Close()
    
    	jwt := &jwtgo.Token{
    		Method: jwtgo.SigningMethodHS256,
    		Claims: jwtgo.StandardClaims{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top