Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 355 for index (0.14 sec)

  1. src/path/path.go

    func Clean(path string) string {
    	if path == "" {
    		return "."
    	}
    
    	rooted := path[0] == '/'
    	n := len(path)
    
    	// Invariants:
    	//	reading from path; r is index of next byte to process.
    	//	writing to buf; w is index of next byte to write.
    	//	dotdot is index in buf where .. must stop, either because
    	//		it is the leading slash or it is a leading ../../.. prefix.
    	out := lazybuf{s: path}
    	r, dotdot := 0, 0
    	if rooted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. clause/expression.go

    						if rv.Len() == 0 {
    							builder.AddVar(builder, nil)
    						} else {
    							for i := 0; i < rv.Len(); i++ {
    								if i > 0 {
    									builder.WriteByte(',')
    								}
    								builder.AddVar(builder, rv.Index(i).Interface())
    							}
    						}
    					default:
    						builder.AddVar(builder, expr.Vars[idx])
    					}
    				}
    			} else {
    				builder.AddVar(builder, expr.Vars[idx])
    			}
    
    			idx++
    		} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. src/time/zoneinfo_windows.go

    	year := t.Year()
    	txi := 0
    	for y := year - 100; y < year+100; y++ {
    		tx := &l.tx[txi]
    		tx.when = pseudoUnix(y, d0) - int64(l.zone[i1].offset)
    		tx.index = uint8(i0)
    		txi++
    
    		tx = &l.tx[txi]
    		tx.when = pseudoUnix(y, d1) - int64(l.zone[i0].offset)
    		tx.index = uint8(i1)
    		txi++
    	}
    }
    
    var usPacific = syscall.Timezoneinformation{
    	Bias: 8 * 60,
    	StandardName: [32]uint16{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/workloadapi"
    )
    
    func (a *index) ServicesCollection(
    	Services krt.Collection[*v1.Service],
    	ServiceEntries krt.Collection[*networkingclient.ServiceEntry],
    	Waypoints krt.Collection[Waypoint],
    	Namespaces krt.Collection[*v1.Namespace],
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/image/ycbcr.go

    }
    
    // YCbCr is an in-memory image of Y'CbCr colors. There is one Y sample per
    // pixel, but each Cb and Cr sample can span one or more pixels.
    // YStride is the Y slice index delta between vertically adjacent pixels.
    // CStride is the Cb and Cr slice index delta between vertically adjacent pixels
    // that map to separate chroma samples.
    // It is not an absolute requirement, but YStride and len(Y) are typically
    // multiples of 8, and:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/admission_test.go

    			setDefaultOffPlugins:      sets.New("pluginC", "pluginD"),
    			setAdmissionControl:       []string{"pluginA", "pluginB", "pluginC"},
    		},
    	}
    
    	// act
    	for index, scenario := range scenarios {
    		t.Run(fmt.Sprintf("scenario %d", index), func(t *testing.T) {
    			target := NewAdmissionOptions()
    
    			if scenario.setDefaultOffPlugins != nil {
    				target.DefaultOffPlugins = scenario.setDefaultOffPlugins
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. internal/s3select/sql/jsonpath.go

    			}
    			val, err := IterToValue(elem.Iter)
    			if err != nil {
    				return nil, false, err
    			}
    			return jsonpathEval(p[1:], val)
    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/route/route.go

    // requested operation. If non-nil, the requested operation is failed.
    type RouteMessage struct {
    	Version int     // message version
    	Type    int     // message type
    	Flags   int     // route flags
    	Index   int     // interface index when attached
    	ID      uintptr // sender's identifier; usually process ID
    	Seq     int     // sequence number
    	Err     error   // error on requested operation
    	Addrs   []Addr  // addresses
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go

    type IfaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Metric  int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	What    uint16
    	Name    [16]int8
    }
    
    type RtMsghdr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go

    type IfaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Metric  int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	What    uint16
    	Name    [16]int8
    }
    
    type RtMsghdr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top