Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,340 for makeCT (0.14 sec)

  1. internal/s3select/json/args.go

    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown regardless of value of
        // 'swallowException' when the mock does not throw an exception.
        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  3. internal/grid/connection_test.go

    		remote.debugMsg(debugShutdown)
    		remoteServer.Close()
    		localServer.Close()
    		remote.debugMsg(debugWaitForExit)
    		local.debugMsg(debugWaitForExit)
    	}()
    
    	cleanReqs := make(chan struct{})
    	gotCall := make(chan struct{})
    	defer close(cleanReqs)
    	// 1: Block forever
    	h1 := func(payload []byte) ([]byte, *RemoteErr) {
    		gotCall <- struct{}{}
    		<-cleanReqs
    		return nil, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. cmd/site-replication-utils.go

    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics {
    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    	}
    	go s.save(ctx)
    	go s.init(ctx)
    	return &s
    }
    
    // init site resync metrics
    func (sm *siteResyncMetrics) init(ctx context.Context) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    		workers:         make([]chan ReplicationWorkerOperation, 0, workers),
    		lrgworkers:      make([]chan ReplicationWorkerOperation, 0, maxLWorkers),
    		mrfReplicaCh:    make(chan ReplicationWorkerOperation, 100000),
    		mrfWorkerKillCh: make(chan struct{}, failedWorkers),
    		resyncer:        newresyncer(),
    		mrfSaveCh:       make(chan MRFReplicateEntry, 100000),
    		mrfStopCh:       make(chan struct{}, 1),
    		ctx:             ctx,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/http-stats.go

    }
    
    type bucketHTTPStats struct {
    	sync.RWMutex
    	httpStats map[string]bucketHTTPAPIStats
    }
    
    func newBucketHTTPStats() *bucketHTTPStats {
    	return &bucketHTTPStats{
    		httpStats: make(map[string]bucketHTTPAPIStats),
    	}
    }
    
    func (bh *bucketHTTPStats) delete(bucket string) {
    	bh.Lock()
    	defer bh.Unlock()
    
    	delete(bh.httpStats, bucket)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    	var retError string
    	var totalBytesWritten uint64
    	var totalBytesRead uint64
    
    	objCountPerThread := make([]uint64, opts.concurrency)
    
    	uploadsCtx, uploadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer uploadsCancel()
    
    	objNamePrefix := pathJoin(speedTest, mustGetUUID())
    
    	userMetadata := make(map[string]string)
    	userMetadata[globalObjectPerfUserMetadata] = "true" // Bypass S3 API freeze
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. cmd/api-response.go

    	listMultipartUploadsResponse.CommonPrefixes = make([]CommonPrefix, len(multipartsInfo.CommonPrefixes))
    	for index, commonPrefix := range multipartsInfo.CommonPrefixes {
    		listMultipartUploadsResponse.CommonPrefixes[index] = CommonPrefix{
    			Prefix: s3EncodeName(commonPrefix, encodingType),
    		}
    	}
    	listMultipartUploadsResponse.Uploads = make([]Upload, len(multipartsInfo.Uploads))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    func (l *localLocker) DupLockMap() localLockMap {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	lockCopy := make(map[string][]lockRequesterInfo, len(l.lockMap))
    	for k, v := range l.lockMap {
    		if len(v) == 0 {
    			delete(l.lockMap, k)
    			continue
    		}
    		lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...)
    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. scripts/docs.py

        This is here only to preview a site with translations already built.
    
        Make sure you run the build-all command first.
        """
        typer.echo("Warning: this is a very simple server.")
        typer.echo("For development, use the command live instead.")
        typer.echo("This is here only to preview a site with translations already built.")
        typer.echo("Make sure you run the build-all command first.")
        os.chdir("site")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top