Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for readImg (0.34 sec)

  1. cmd/test-utils_test.go

    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    	// reading the body to preserve it so that it can be used again for second attempt of sending unsigned HTTP request.
    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/istio_ca.go

    	if err != nil {
    		log.Errorf("unable to determine signing file format %v", err)
    		return
    	}
    	newCABundle, err = os.ReadFile(fileBundle.RootCertFile)
    	if err != nil {
    		log.Errorf("failed reading root-cert.pem: %v", err)
    		return
    	}
    
    	// Only updating intermediate CA is supported now
    	if !bytes.Equal(currentCABundle, newCABundle) {
    		if !features.MultiRootMesh {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // resource op lifting.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateDecomposeResourceOpsInClusterPass();
    
    // Creates a pass that marks TPU cluster input-output pairs reading and writing
    // to same resource variable as aliases.
    std::unique_ptr<OperationPass<ModuleOp>> CreateMarkInputOutputAliasesPass();
    
    // Creates a pass that lifts operations on external resource variables from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	watchFn   func(_ context.Context, _ string, _ storage.ListOptions) (watch.Interface, error)
    
    	// use getRequestWatchProgressCounter when reading
    	// the value of the counter
    	requestWatchProgressCounter int
    }
    
    func (d *dummyStorage) RequestWatchProgress(ctx context.Context) error {
    	d.Lock()
    	defer d.Unlock()
    	d.requestWatchProgressCounter++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		}, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    	})
    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerTest(t *testing.T, objTest objTestType) {
    	execExtended(t, func(t *testing.T, init func(), bucketOptions MakeBucketOptions) {
    		ExecObjectLayerTest(t, objTest)
    	})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    		// coming up and trying to read format.json or create format.json
    		return nil
    	}
    	storedDiskID, err := p.storage.GetDiskID()
    	if err != nil {
    		// return any error generated while reading `format.json`
    		return err
    	}
    	if err == nil && *p.diskID.Load() == storedDiskID {
    		return nil
    	}
    	// not the same disk we remember, take it offline.
    	return errDiskNotFound
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		}
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
    			if !bytes.Equal(testCase.expectedContent, actualContent) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    }
    
    func (b *Builder) loadCachedVet(a *Action) error {
    	c := cache.Default()
    	list, _, err := cache.GetBytes(c, cache.Subkey(a.actionID, "srcfiles"))
    	if err != nil {
    		return fmt.Errorf("reading srcfiles list: %w", err)
    	}
    	var srcfiles []string
    	for _, name := range strings.Split(string(list), "\n") {
    		if name == "" { // end of list
    			continue
    		}
    		if strings.HasPrefix(name, "./") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. RELEASE.md

    *   [TensorBoard Debugger Plugin](https://github.com/tensorflow/tensorboard/blob/master/tensorboard/plugins/debugger/README.md),
        the graphical user interface (GUI) of TensorFlow Debugger (tfdbg), is now in
        alpha.
    *   Experimental support for reading a sqlite database as a `Dataset` with new
        `tf.contrib.data.SqlDataset`.
    *   Distributed Mutex / CriticalSection added to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	// Read lock for upload id.
    	// Only held while reading the upload metadata.
    	uploadIDRLock := er.NewNSLock(bucket, pathJoin(object, uploadID))
    	rlkctx, err := uploadIDRLock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		return PartInfo{}, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top