Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3441 - 3450 of 3,853 for qint (0.03 sec)

  1. cmd/generic-handlers_test.go

    	{header: generateHeader(0, 1024), shouldFail: false},
    	{header: generateHeader(0, 2048), shouldFail: true},
    	{header: generateHeader(0, 2048+1), shouldFail: true},
    }
    
    func generateHeader(size, usersize int) http.Header {
    	header := http.Header{}
    	for i := 0; i < size; i++ {
    		header.Set(strconv.Itoa(i), "")
    	}
    	userlength := 0
    	for i := 0; userlength < usersize; i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor.go

    	if !ok {
    		throttle = &bucketThrottle{}
    	}
    	throttle.NodeBandwidthPerSec = limitBytes
    	throttle.Limiter = rate.NewLimiter(rate.Limit(float64(limitBytes)), int(limitBytes))
    	m.bucketsThrottle[BucketOptions{Name: bucket, ReplicationARN: arn}] = throttle
    }
    
    // IsThrottled returns true if a bucket has bandwidth throttling enabled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/s3select/simdj/reader.go

    // safeCloser will wrap a Reader as a ReadCloser.
    // It is safe to call Close while the reader is being used.
    type safeCloser struct {
    	closed uint32
    	r      io.Reader
    }
    
    func (s *safeCloser) Read(p []byte) (n int, err error) {
    	if atomic.LoadUint32(&s.closed) == 1 {
    		return 0, io.EOF
    	}
    	n, err = s.r.Read(p)
    	if atomic.LoadUint32(&s.closed) == 1 {
    		return 0, io.EOF
    	}
    	return n, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            tasks.register("serveDocs", ServeDocs.class, task -> {
                task.setDescription("Runs a local webserver to serve generated documentation.");
                task.setGroup("documentation");
    
                int webserverPort = 8000;
                task.getJavaLauncher().set(
                    task.getProject().getExtensions().getByType(JavaToolchainService.class)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                case NODESET:
                    final XPathNodes nodeList = (XPathNodes) xObj.value();
                    final List<String> strList = new ArrayList<>();
                    for (int i = 0; i < nodeList.size(); i++) {
                        final Node node = nodeList.get(i);
                        strList.add(node.getTextContent());
                    }
                    return strList.toArray(n -> new String[n]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                final StringBuilder buf = new StringBuilder(255);
                final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath);
                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    		Name:     "obj1",
    		IsLatest: true,
    	}
    	// non-current version
    	obj2 := ObjectOpts{
    		Name: "obj2",
    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    			transRuleID: 2,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		for _, dnsRecords := range dnsBuckets {
    			bucketsInfo = append(bucketsInfo, BucketInfo{
    				Name:    dnsRecords[0].Key,
    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    
    		sort.Slice(bucketsInfo, func(i, j int) bool {
    			return bucketsInfo[i].Name < bucketsInfo[j].Name
    		})
    
    	} else {
    		// Invoke the list buckets.
    		var err error
    		bucketsInfo, err = listBuckets(ctx, BucketOptions{})
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    	return deleteKeyEtcd(ctx, ies.client, path)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error {
    	return ies.loadPolicyDoc(ctx, policy, m)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. cmd/object-api-options.go

    	return
    }
    
    // get ObjectOptions for GET calls from encryption headers
    func getOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) {
    	var opts ObjectOptions
    
    	var partNumber int
    	var err error
    	if pn := r.Form.Get(xhttp.PartNumber); pn != "" {
    		partNumber, err = strconv.Atoi(pn)
    		if err != nil {
    			return opts, err
    		}
    		if isMaxPartID(partNumber) {
    			return opts, errInvalidMaxParts
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top