Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,577 for makeCT (0.06 sec)

  1. cmd/bucket-replication-metrics.go

    	srQueueStats InQueueStats
    	bucketStats  map[string]InQueueStats
    	sync.RWMutex // mutex for queue stats
    }
    
    func newQueueCache(r metrics.Registry) queueCache {
    	return queueCache{
    		bucketStats:  make(map[string]InQueueStats),
    		srQueueStats: newInQueueStats(r, "site"),
    	}
    }
    
    func (q *queueCache) update() {
    	q.Lock()
    	defer q.Unlock()
    	q.srQueueStats.update()
    	for _, s := range q.bucketStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    	)
    	encMetadata := make(map[string]string)
    	for k, v := range oi.UserDefined {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			encMetadata[k] = v
    		}
    	}
    
    	if (sseKMS || sseS3) && r.Encryption.Type == ssekms {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func newZtunnelConnection(u *net.UnixConn) *ZtunnelConnection {
    	return &ZtunnelConnection{u: u, Updates: make(chan updateRequest, 100)}
    }
    
    func (z *ZtunnelConnection) Close() {
    	z.u.Close()
    }
    
    func (z *ZtunnelConnection) send(ctx context.Context, data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	ret := make(chan updateResponse, 1)
    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tests/preload_suits_test.go

    			Name   string
    			Level2 Level2
    		}
    	)
    	DB.Migrator().DropTable(&Level3{}, &Level2{}, &Level1{})
    	if err := DB.AutoMigrate(&Level3{}, &Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := make([]Level3, 2)
    	want[0] = Level3{Level2: Level2{Level1: Level1{Value: "value"}}}
    	if err := DB.Create(&want[0]).Error; err != nil {
    		t.Error(err)
    	}
    	want[1] = Level3{Level2: Level2{Level1: Level1{Value: "value2"}}}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
       *     JVM
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_tensor_handle.h

    namespace internal {
    struct AbstractTensorHandleDeleter {
      void operator()(AbstractTensorHandle* p) const {
        if (p != nullptr) {
          p->Unref();
        }
      }
    };
    }  // namespace internal
    
    // TODO(b/185908092): Make AbstractTensorHandlePtr an IntrusivePtr.
    using AbstractTensorHandlePtr =
        std::unique_ptr<AbstractTensorHandle,
                        internal::AbstractTensorHandleDeleter>;
    
    }  // namespace tensorflow
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. internal/etag/etag.go

    // computes the ETag as MD5 of the encrypted content but there is
    // no way to verify this assumption since the encryption happens
    // inside AWS S3.
    // Therefore, S3 clients must not make any assumption about ETags
    // in case of SSE-C or SSE-KMS except that the ETag is well-formed.
    //
    // To put all of this into a simple rule:
    //
    //	SSE-S3 : ETag == MD5
    //	SSE-C  : ETag != MD5
    //	SSE-KMS: ETag != MD5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. internal/disk/directio_unsupported.go

    func DisableDirectIO(f *os.File) error {
    	return nil
    }
    
    // AlignedBlock simply returns an unaligned buffer
    // for systems that do not support DirectIO.
    func AlignedBlock(blockSize int) []byte {
    	return make([]byte, blockSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top