Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 505 for loads (0.22 sec)

  1. tests/test_ws_dependencies.py

    def test_index():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = json.loads(websocket.receive_text())
            assert data == ["app", "index"]
    
    
    def test_routerindex():
        client = TestClient(app)
        with client.websocket_connect("/router") as websocket:
            data = json.loads(websocket.receive_text())
            assert data == ["app", "router2", "router", "routerindex"]
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 20:35:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-api.go

    		}
    
    		httpStats := globalBucketHTTPStats.load(bucket)
    		for k, v := range httpStats.currentS3Requests.Load(false) {
    			m.Set(apiRequestsInFlightTotal, float64(v), "bucket", bucket, "name", k, "type", "s3")
    		}
    
    		for k, v := range httpStats.totalS3Requests.Load(false) {
    			m.Set(apiRequestsTotal, float64(v), "bucket", bucket, "name", k, "type", "s3")
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs_src/generate_clients/tutorial004.py

    import json
    from pathlib import Path
    
    file_path = Path("./openapi.json")
    openapi_content = json.loads(file_path.read_text())
    
    for path_data in openapi_content["paths"].values():
        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 493 bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by calling {@link Supplier#get}, irrespective of the
       *     key
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

       *
       * This method loads entire response body into memory. If the response body is very large this
       * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a
       * possibility for your response.
       */
      @Throws(IOException::class)
      fun bytes() = commonBytes()
    
      /**
       * Returns the response as a [ByteString].
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        throw new AssertionError();
      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        throw new AssertionError();
      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by calling {@link Supplier#get}, irrespective of the
       *     key
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    	// TODO(fisherxu): migrate this to jsonpb when issue fixed in golang
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top