Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 107 for Account (1.79 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    								defaultLoggerName: level,
    							}
    						} else {
    							return fmt.Errorf("unrecognized logging level: %v", ol)
    						}
    					} else {
    						logParts := strings.Split(ol, "::") // account for any specified namespace
    						loggerAndLevelOnly := logParts[len(logParts)-1]
    						loggerLevel := regexp.MustCompile(`[:=]`).Split(loggerAndLevelOnly, 2)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    // existing file, such as a binary executable.
    // It must be called before any data is written.
    func (w *Writer) SetOffset(n int64) {
    	if w.cw.count != 0 {
    		panic("zip: SetOffset called after data was written")
    	}
    	w.cw.count = n
    }
    
    // Flush flushes any buffered data to the underlying writer.
    // Calling Flush is not normally necessary; calling Close is sufficient.
    func (w *Writer) Flush() error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) init(ctx context.Context, buckets []BucketInfo) {
    	count := 100 // load 100 bucket metadata at a time.
    	failedBuckets := make(map[string]struct{})
    	for {
    		if len(buckets) < count {
    			sys.concurrentLoad(ctx, buckets, failedBuckets)
    			break
    		}
    		sys.concurrentLoad(ctx, buckets[:count], failedBuckets)
    		buckets = buckets[count:]
    	}
    
    	sys.Lock()
    	sys.initialized = true
    	sys.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    	latest := int64(0)
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for nano, count := range timeOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima || nano > latest {
    			maxima = count
    			latest = nano
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return time.Unix(0, latest).UTC(), maxima
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	if err != nil {
    		t.Errorf("Not error should happen, got %v", err)
    	}
    
    	count := 0
    	for rows.Next() {
    		var name string
    		var age int64
    		rows.Scan(&name, &age)
    		count++
    	}
    
    	if count != 2 {
    		t.Errorf("Should found two records")
    	}
    }
    
    func TestRaw(t *testing.T) {
    	user1 := User{Name: "ExecRawSqlUser1", Age: 1}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "Curr")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    				case "Count":
    					z.Curr.Count, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Count")
    						return
    					}
    				case "Bytes":
    					z.Curr.Bytes, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Bytes")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region, serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	// Temporary credentials or Service accounts cannot generate further temporary credentials.
    	if user.IsTemp() || user.IsServiceAccount() {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	// Session tokens are not allowed in STS AssumeRole requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/s3-zip-handlers.go

    						listObjectsInfo.Prefixes = append(listObjectsInfo.Prefixes, commonPrefix)
    						count++
    					}
    					goto next
    				}
    			}
    			listObjectsInfo.Objects = append(listObjectsInfo.Objects, ObjectInfo{
    				Bucket:  bucket,
    				Name:    objName,
    				Size:    int64(file.UncompressedSize64),
    				ModTime: zipObjInfo.ModTime,
    			})
    			count++
    		}
    	next:
    		nextToken = objName
    	}
    
    	if isTruncated {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    			if max < count && commonCount < ops {
    				max = count
    				commonCount = ops
    			}
    		}
    		if max < readQuorum {
    			return 0
    		}
    		return commonCount
    	}
    
    	commonWrite = filter(writes)
    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)
Back to top