Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 166 for SELECT (0.05 seconds)

  1. cmd/utils.go

    }
    
    func ptr[T any](a T) *T {
    	return &a
    }
    
    // sleepContext sleeps for d duration or until ctx is done.
    func sleepContext(ctx context.Context, d time.Duration) error {
    	select {
    	case <-ctx.Done():
    		return ctx.Err()
    	case <-time.After(d):
    	}
    	return nil
    }
    
    // helper type to return either item or error.
    type itemOrErr[V any] struct {
    	Item V
    	Err  error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  2. .bazelrc

    # CUDA: This config refers to building CUDA op kernels with clang.
    common:cuda_clang --config=cuda
    common:cuda_clang --@local_config_cuda//:cuda_compiler=clang
    common:cuda_clang --copt=-Qunused-arguments
    # Select supported compute capabilities (supported graphics cards).
    # This is the same as the official TensorFlow builds.
    # See https://developer.nvidia.com/cuda-gpus#compute
    # `compute_XY` enables PTX embedding in addition to SASS. PTX
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  3. doc/go_mem.html

    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    <p>
    The <code>sync</code> package implements two lock data types,
    <code>sync.Mutex</code> and <code>sync.RWMutex</code>.
    </p>
    
    <p class="rule">
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  4. cmd/object-handlers.go

    	for k, v := range reqParams {
    		if header, ok := supportedHeadGetReqParams[strings.ToLower(k)]; ok {
    			w.Header()[header] = []string{strings.Join(v, ",")}
    		}
    	}
    }
    
    // SelectObjectContentHandler - GET Object?select
    // ----------
    // This implementation of the GET operation retrieves object content based
    // on an SQL expression. In the request, along with the sql expression, you must
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  5. src/bufio/bufio_test.go

    	return 0, nil
    }
    
    func TestZeroReader(t *testing.T) {
    	var z zeroReader
    	r := NewReader(z)
    
    	c := make(chan error)
    	go func() {
    		_, err := r.ReadByte()
    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  6. cmd/metrics-v2.go

    		populateAndPublish(metricsGroups, func(m MetricV2) bool {
    			if m.VariableLabels == nil {
    				m.VariableLabels = make(map[string]string)
    			}
    			m.VariableLabels[serverName] = globalLocalNodeName
    			for {
    				select {
    				case ch <- m:
    					return true
    				case <-ctx.Done():
    					return false
    				}
    			}
    		})
    	}()
    	return ch
    }
    
    // minioNodeCollector is the Custom Collector
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  7. cmd/erasure-object.go

    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    		onlineDisks[i] = nil
    	}
    
    	select {
    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    		return fi, onlineMeta, onlineDisks, toObjectErr(ctx.Err(), bucket, object)
    	}
    
    	return fi, onlineMeta, onlineDisks, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  8. cmd/site-replication.go

    	defer cancel()
    
    	healTimer := time.NewTimer(siteHealTimeInterval)
    	defer healTimer.Stop()
    
    	var maxRefreshDurationSecondsForLog float64 = 10 // 10 seconds..
    
    	for {
    		select {
    		case <-healTimer.C:
    			c.RLock()
    			enabled := c.enabled
    			c.RUnlock()
    			if enabled {
    				refreshStart := time.Now()
    				c.healIAMSystem(ctx, objAPI) // heal IAM system first
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  9. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func RouteRIB(int, int) ([]uint8, error)
    pkg syscall (freebsd-386-cgo), func Seek(int, int64, int) (int64, error)
    pkg syscall (freebsd-386-cgo), func Select(int, *FdSet, *FdSet, *FdSet, *Timeval) error
    pkg syscall (freebsd-386-cgo), func Sendfile(int, int, *int64, int) (int, error)
    pkg syscall (freebsd-386-cgo), func Sendmsg(int, []uint8, []uint8, Sockaddr, int) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  10. api/go1.txt

    pkg go/ast, type Scope struct, Objects map[string]*Object
    pkg go/ast, type Scope struct, Outer *Scope
    pkg go/ast, type SelectStmt struct
    pkg go/ast, type SelectStmt struct, Body *BlockStmt
    pkg go/ast, type SelectStmt struct, Select token.Pos
    pkg go/ast, type SelectorExpr struct
    pkg go/ast, type SelectorExpr struct, Sel *Ident
    pkg go/ast, type SelectorExpr struct, X Expr
    pkg go/ast, type SendStmt struct
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top