Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 476 for memset (0.04 seconds)

  1. src/archive/tar/reader.go

    	}
    	numEntries, err := strconv.ParseInt(nextToken(), 10, 0) // Intentionally parse as native int
    	if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) {
    		return nil, ErrHeader
    	}
    
    	// Parse for all member entries.
    	// numEntries is trusted after this since feedTokens limits the number of
    	// tokens based on maxSpecialFileSize.
    	if err := feedTokens(2 * numEntries); err != nil {
    		return nil, err
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  2. cmd/object-handlers_test.go

    		for k, value := range customHeaders {
    			req.Header.Set(k, value)
    		}
    	}
    
    	checksumData := func(b []byte, h hash.Hash) string {
    		h.Reset()
    		_, err := h.Write(b)
    		if err != nil {
    			t.Fatal(err)
    		}
    		return base64.StdEncoding.EncodeToString(h.Sum(nil))
    	}
    	// test cases with inputs and expected result for GetObject.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    			ctx, cancel := context.WithCancel(j.ctx)
    			defer cancel()
    			if err := j.objLayer.Walk(ctx, minioMetaBucket, batchJobReportsPrefix, results, WalkOptions{}); err != nil {
    				batchLogIf(j.ctx, err)
    				t.Reset(randomWait())
    				continue
    			}
    			for result := range results {
    				if result.Err != nil {
    					batchLogIf(j.ctx, result.Err)
    					continue
    				}
    				ri := &batchJobInfo{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. cmd/erasure-server-pool-rebalance.go

    			stopFn(0, err)
    			if err == nil && notify {
    				globalNotificationSys.LoadRebalanceMeta(GlobalContext, false)
    			}
    			rebalanceLogIf(GlobalContext, err)
    
    			if quit {
    				return
    			}
    
    			timer.Reset(randSleepFor())
    		}
    	}()
    
    	rebalanceLogEvent(ctx, "Pool %d rebalancing is started", poolIdx+1)
    
    	for {
    		select {
    		case <-ctx.Done():
    			doneCh <- ctx.Err()
    			return err
    		default:
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  5. cmd/storage-rest-client.go

    // Return with readMsgpReaderPoolPut when done.
    func msgpNewReader(r io.Reader) *msgp.Reader {
    	p := readMsgpReaderPool.Get()
    	if p.R == nil {
    		p.R = xbufio.NewReaderSize(r, 32<<10)
    	} else {
    		p.R.Reset(r)
    	}
    	return p
    }
    
    // readMsgpReaderPoolPut can be used to reuse a *msgp.Reader.
    func readMsgpReaderPoolPut(r *msgp.Reader) {
    	if r != nil {
    		readMsgpReaderPool.Put(r)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            if (random.nextBoolean()) {
              removeMinFromReplica(replica, mmHeap.poll());
            } else {
              removeMaxFromReplica(replica, mmHeap.pollLast());
            }
            for (Integer v : replica.keySet()) {
              assertThat(mmHeap).contains(v);
            }
            assertIntact(mmHeap);
            currentHeapSize--;
            assertEquals(currentHeapSize, mmHeap.size());
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  7. cmd/object_api_suite_test.go

    	KMS, err := kms.ParseSecretKey("my-minio-key:5lF+0pJM0OWwlQrvK2S/I7W9mO4a6rJJI7wzj7v09cw=")
    	if err != nil {
    		t.Fatal(err)
    	}
    	GlobalKMS = KMS
    }
    
    func resetCompressEncryption() {
    	// Reset...
    	globalCompressConfigMu.Lock()
    	globalCompressConfig.Enabled = false
    	globalCompressConfig.AllowEncrypted = false
    	globalCompressConfigMu.Unlock()
    	globalAutoEncryption = false
    	GlobalKMS = nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  8. cmd/data-usage-cache.go

    	select {
    	case <-ctx.Done():
    		return ctx.Err()
    	case maxConcurrentScannerSaves <- struct{}{}:
    	}
    
    	buf := bytebufferpool.Get()
    	defer func() {
    		<-maxConcurrentScannerSaves
    		buf.Reset()
    		bytebufferpool.Put(buf)
    	}()
    
    	if err := d.serializeTo(buf); err != nil {
    		return err
    	}
    
    	save := func(name string, timeout time.Duration) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()};
        Map<Object, Object> result = cache.getAll(asList(lookupKeys));
        assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys));
        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
  10. .bazelrc

    # https://groups.google.com/a/tensorflow.org/d/topic/build/SsW98Eo7l3o/discussion
    common:windows --copt=/d2ReducedOptimizeHugeFunctions
    common:windows --host_copt=/d2ReducedOptimizeHugeFunctions
    
    # Before VS 2017 15.8, the member "type" would non-conformingly have an
    # alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this
    # correctly, but the fix inherently changes layout and breaks binary
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
Back to Top