Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 106 for spool (0.04 sec)

  1. cmd/storage-rest-client.go

    	}
    	if err != nil {
    		return res, toStorageErr(err)
    	}
    
    	defer storageRenameDataRPC.PutResponse(resp)
    	return *resp, nil
    }
    
    // where we keep old *Readers
    var readMsgpReaderPool = sync.Pool{New: func() interface{} { return &msgp.Reader{} }}
    
    // mspNewReader returns a *Reader that reads from the provided reader.
    // The reader will be buffered.
    // Return with readMsgpReaderPoolPut when done.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. schema/field.go

    func (field *Field) setupNewValuePool() {
    	if field.Serializer != nil {
    		serializerValue := reflect.Indirect(reflect.ValueOf(field.Serializer))
    		serializerType := serializerValue.Type()
    		field.NewValuePool = &sync.Pool{
    			New: func() interface{} {
    				si := reflect.New(serializerType)
    				si.Elem().Set(serializerValue)
    				return &serializer{
    					Field:      field,
    					Serializer: si.Interface().(SerializerInterface),
    				}
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. finisher_api.go

    	}
    	Scan(rows, tx, ScanInitialized)
    	return tx.Error
    }
    
    // Connection uses a db connection to execute an arbitrary number of commands in fc. When finished, the connection is
    // returned to the connection pool.
    func (db *DB) Connection(fc func(tx *DB) error) (err error) {
    	if db.Error != nil {
    		return db.Error
    	}
    
    	tx := db.getInstance()
    	sqlDB, err := tx.DB()
    	if err != nil {
    		return
    	}
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	if b > 0 && b == a {
    		opts.Error = fmt.Sprintf("unable to heal %d missing blocks on drives", b)
    	}
    
    	opts.Tags = map[string]string{
    		"healObject": auditObjectOp{
    			Name: opts.Object,
    			Pool: er.poolIndex + 1,
    			Set:  er.setIndex + 1,
    		}.String(),
    	}
    
    	auditLogInternal(ctx, opts)
    }
    
    // Heals an object by re-writing corrupt/missing erasure blocks.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    var metaDataPool = sync.Pool{New: func() interface{} { return make([]byte, 0, metaDataReadDefault) }}
    
    // metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault.
    // It will be length 0.
    func metaDataPoolGet() []byte {
    	return metaDataPool.Get().([]byte)[:0]
    }
    
    // metaDataPoolPut will put an unused small buffer back into the pool.
    func metaDataPoolPut(buf []byte) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    		removeRoots(fsDirs)
    		return nil, nil, err
    	}
    
    	// Wait up to 10 seconds for disks to come online.
    	pools := obj.(*erasureServerPools)
    	t := time.Now()
    	for _, pool := range pools.serverPools {
    		for _, sets := range pool.erasureDisks {
    			for _, s := range sets {
    				if !s.IsLocal() {
    					for {
    						if s.IsOnline() {
    							break
    						}
    						time.Sleep(100 * time.Millisecond)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64.s

    	FMOVD	0x8008(R1), F2		// FMOVD	32776(R1), F2		// 3b204091620740fd
    	FMOVD	0x1006ff8(R1), F2	// FMOVD	16805880(R1), F2	// 3bfc7f9162ff7ffd
    
    // very large or unaligned offset uses constant pool.
    // the encoding cannot be checked as the address of the constant pool is unknown.
    // here we only test that they can be assembled.
    	MOVB	R1, 0x1000000(R2)	// MOVB		R1, 16777216(R2)
    	MOVB	R1, 0x44332211(R2)	// MOVB		R1, 1144201745(R2)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Jul 24 18:45:14 UTC 2024
    - 95.2K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg regexp/syntax, method (InstOp) String() string
    pkg runtime/debug, func SetPanicOnFault(bool) bool
    pkg runtime/debug, func WriteHeapDump(uintptr)
    pkg sync, method (*Pool) Get() interface{}
    pkg sync, method (*Pool) Put(interface{})
    pkg sync, type Pool struct
    pkg sync, type Pool struct, New func() interface{}
    pkg syscall (darwin-386), func FcntlFlock(uintptr, int, *Flock_t) error
    pkg syscall (darwin-386), func Mlock([]uint8) error
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		if globalDNSConfig != nil {
    			// Background this operation.
    			bootstrapTrace("go initFederatorBackend", func() {
    				go initFederatorBackend(buckets, newObject)
    			})
    		}
    
    		// Initialize batch job pool.
    		bootstrapTrace("newBatchJobPool", func() {
    			globalBatchJobPool = newBatchJobPool(GlobalContext, newObject, 100)
    			globalBatchJobsMetrics = batchJobMetrics{
    				metrics: make(map[string]*batchJobInfo),
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (3)
  10. go.sum

    github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=
    github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
    github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=
    github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
    github.com/gobwas/ws v1.2.1/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY=
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top