Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for index (0.04 sec)

  1. pilot/pkg/config/kube/crdclient/client.go

    	h, f := cl.kind(typ)
    	if !f {
    		cl.logger.Warnf("unknown type: %s", typ)
    		return nil
    	}
    	obj := h.Get(name, namespace)
    	if obj == nil {
    		cl.logger.Debugf("couldn't find %s/%s in informer index", namespace, name)
    		return nil
    	}
    
    	cfg := TranslateObject(obj, typ, cl.domainSuffix)
    	return &cfg
    }
    
    // Create implements store interface
    func (cl *Client) Create(cfg config.Config) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/os/exec/exec.go

    			continue
    		}
    
    		i := strings.Index(kv, "=")
    		if i == 0 {
    			// We observe in practice keys with a single leading "=" on Windows.
    			// TODO(#49886): Should we consume only the first leading "=" as part
    			// of the key, or parse through arbitrarily many of them until a non-"="?
    			i = strings.Index(kv[1:], "=") + 1
    		}
    		if i < 0 {
    			if kv != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry_logging.go

    		var namespaces []string
    		for k := range namespaceToServices {
    			namespaces = append(namespaces, k)
    		}
    		// If namespace is omitted, return successfully if there is only one such host name in the service index.
    		if len(namespaces) == 1 {
    			svc := namespaceToServices[namespaces[0]]
    			hostname = string(svc.Hostname)
    			cluster = BuildSubsetKey(TrafficDirectionOutbound, "", svc.Hostname, port)
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. chainable_api.go

    // [docs] for more depth.
    //
    //	// add a simple limit clause
    //	db.Clauses(clause.Limit{Limit: 1}).Find(&User{})
    //	// tell the optimizer to use the `idx_user_name` index
    //	db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{})
    //	// specify the lock strength to UPDATE
    //	db.Clauses(clause.Locking{Strength: "UPDATE"}).Find(&users)
    //
    // [docs]: https://gorm.io/docs/sql_builder.html#Clauses
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    		if len(objects) < BatchSize {
    			N = len(objects)
    		}
    		batch := objects[:N]
    
    		// We have to decrypt only ETags of SSE-S3 single-part
    		// objects.
    		// Therefore, we remember which objects (there index)
    		// in the current batch are single-part SSE-S3 objects.
    		metadata = metadata[:0:N]
    		buckets = buckets[:0:N]
    		names = names[:0:N]
    		SSES3SinglePartObjects := make(map[int]bool)
    		for i, object := range batch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		listVal.Set(reflect.MakeSlice(listVal.Type(), len(selectedObjects), len(selectedObjects)))
    		span.AddEvent("Resized result")
    		for i, o := range selectedObjects {
    			listVal.Index(i).Set(reflect.ValueOf(o).Elem())
    		}
    	}
    	span.AddEvent("Filtered items", attribute.Int("count", listVal.Len()))
    	if c.versioner != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	// latest version.
    	LatestModTime time.Time `msg:"lm"`
    
    	Versions     []FileInfo `msg:"vs"`
    	FreeVersions []FileInfo `msg:"fvs"`
    }
    
    // findVersionIndex will return the version index where the version
    // was found. Returns -1 if not found.
    func (f *FileInfoVersions) findVersionIndex(v string) int {
    	if f == nil || v == "" {
    		return -1
    	}
    	if v == nullVersionID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    // parent directory retains the trailing slash.
    func splitPath(s string, lastIndex bool) (string, string) {
    	var i int
    	if lastIndex {
    		i = strings.LastIndex(s, "/")
    	} else {
    		i = strings.Index(s, "/")
    	}
    	if i == -1 {
    		return s, ""
    	}
    	// Include the trailing slash in the parent directory.
    	return s[:i+1], s[i+1:]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    )
    
    // Tests isObjectDangling function
    func TestIsObjectDangling(t *testing.T) {
    	fi := newFileInfo("test-object", 2, 2)
    	fi.Erasure.Index = 1
    
    	ifi := newFileInfo("test-object", 2, 2)
    	ifi.SetInlineData()
    	ifi.Erasure.Index = 1
    
    	testCases := []struct {
    		name             string
    		metaArr          []FileInfo
    		errs             []error
    		dataErrs         map[int][]int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    				return
    			}
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    var redirectPrefixes = map[string]struct{}{
    	"favicon-16x16.png": {},
    	"favicon-32x32.png": {},
    	"favicon-96x96.png": {},
    	"index.html":        {},
    	minioReservedBucket: {},
    }
    
    // Fetch redirect location if urlPath satisfies certain
    // criteria. Some special names are considered to be
    // redirectable, this is purely internal function and
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top