Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 458 for select (0.16 sec)

  1. cmd/metacache-set.go

    				// Do not return io.EOF
    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    			case resCh <- results:
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. statement.go

    								}
    							}
    						}
    					}
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < reflectValue.Len(); i++ {
    						for _, field := range s.Fields {
    							selected := selectedColumns[field.DBName] || selectedColumns[field.Name]
    							if selected || (!restricted && field.Readable) {
    								if v, isZero := field.ValueOf(stmt.Context, reflectValue.Index(i)); !isZero || selected {
    									if field.DBName != "" {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package s3select
    
    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"net/http"
    	"strconv"
    	"sync/atomic"
    	"time"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  4. cmd/notification.go

    			}
    			continue
    		}
    		wg.Add(1)
    		go func(ctx context.Context, peerChannel <-chan MetricV2, wg *sync.WaitGroup) {
    			defer wg.Done()
    			for {
    				select {
    				case m, ok := <-peerChannel:
    					if !ok {
    						return
    					}
    					select {
    					case ch <- m:
    					case <-ctx.Done():
    						return
    					}
    				case <-ctx.Done():
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    	tolerance = len(restClnts) - quorum
    	attempt := uint(0)
    
    	for {
    		select {
    		case <-ctx.Done():
    			return false
    		default:
    			// Try to acquire the lock.
    			if locked = lock(ctx, dm.clnt, &locks, id, source, isReadLock, tolerance, quorum, dm.Names...); locked {
    				dm.m.Lock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_edit.jsp

                                        <div class="col-sm-9">
                                            <la:errors property="labelTypeIds"/>
                                            <la:select styleId="labelTypeIds" property="labelTypeIds" multiple="true"
                                                       styleClass="form-control">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 15.9K bytes
    - Viewed (0)
  7. internal/logger/target/http/http.go

    		currentGlobalBuffer, ok := logChBuffers[name]
    		logChLock.Unlock()
    		if !ok {
    			return
    		}
    
    		for _, v := range entries {
    			select {
    			case currentGlobalBuffer <- v:
    			default:
    			}
    		}
    
    		if mainWorker {
    		drain:
    			for {
    				select {
    				case v, ok := <-h.logCh:
    					if !ok {
    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    	ret := make(chan updateResponse, 1)
    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    	select {
    	case z.Updates <- req:
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    
    	select {
    	case r := <-ret:
    		return r.resp, r.err
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait.go

    					_, _ = fmt.Fprintf(cmd.OutOrStdout(), "Resource %s present on %d out of %d configurations across %d sidecars\n",
    						targetResource, present, present+notpresent, sdcnum)
    					return nil
    				}
    				select {
    				case newVersion := <-w.resultsChan:
    					printVerbosef(cmd, "received new target version: %s", newVersion)
    					generations = append(generations, newVersion)
    				case <-t.C:
    					printVerbosef(cmd, "tick")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_edit.jsp

                                        <div class="col-sm-9">
                                            <la:errors property="labelTypeIds"/>
                                            <la:select styleId="labelTypeIds" property="labelTypeIds" multiple="true"
                                                       styleClass="form-control">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 15.3K bytes
    - Viewed (0)
Back to top