Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 582 for loads (0.23 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump.go

    }
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	w := &configdump.Wrapper{}
    	err := w.UnmarshalJSON(b)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    func (b *BucketMetadata) SetCreatedAt(createdAt time.Time) {
    	if b.Created.IsZero() {
    		b.Created = UTCNow()
    	}
    	if !createdAt.IsZero() {
    		b.Created = createdAt.UTC()
    	}
    }
    
    // Load - loads the metadata of bucket by name from ObjectLayer api.
    // If an error is returned the returned metadata will be default initialized.
    func readBucketMetadata(ctx context.Context, api ObjectLayer, name string) (BucketMetadata, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
        // rather than delegating to a parent ClassLoader. If this assumption is violated the test will
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    			if onlyActive {
    				if _, err := target.IsActive(); err != nil {
    					continue
    				}
    			}
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    func (evnot *EventNotifier) set(bucket BucketInfo, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
        // rather than delegating to a parent ClassLoader. If this assumption is violated the test will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. cmd/common-main.go

    				// Manually load the certificate and private key into memory.
    				// We need to check whether the private key is encrypted, and
    				// if so, decrypt it using the user-provided password.
    				certBytes, err := os.ReadFile(certFile)
    				if err != nil {
    					return tls.Certificate{}, fmt.Errorf("Unable to load KES client certificate as specified by the shell environment: %v", err)
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

                        "type": "type_error.dict",
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top