Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 567 for reset (0.04 seconds)

  1. 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)
  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/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)
  4. cmd/bucket-handlers.go

    				part.Close()
    				continue
    			}
    
    			buf := bytebufferpool.Get()
    			// value, store as string in memory
    			n, err := io.CopyN(buf, part, maxMemoryBytes+1)
    			value := buf.String()
    			buf.Reset()
    			bytebufferpool.Put(buf)
    			part.Close()
    
    			if err != nil && err != io.EOF {
    				apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  5. finisher_api.go

    		if limit, ok := c.Expression.(clause.Limit); ok {
    			if limit.Limit != nil {
    				totalSize = *limit.Limit
    			}
    
    			if totalSize > 0 && batchSize > totalSize {
    				batchSize = totalSize
    			}
    
    			// reset to offset to 0 in next batch
    			tx = tx.Offset(-1).Session(&Session{})
    		}
    	}
    
    	for {
    		result := queryDB.Limit(batchSize).Find(dest)
    		rowsAffected += result.RowsAffected
    		batch++
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  6. src/archive/tar/tar_test.go

    				tw.WriteHeader(file.hdr)
    				tw.Write(file.body)
    			}
    			tw.Close()
    			b.Run(v.label, func(b *testing.B) {
    				b.ReportAllocs()
    				// Read from the byte buffer.
    				for i := 0; i < b.N; i++ {
    					r.Reset(buf.Bytes())
    					tr := NewReader(&r)
    					if _, err := tr.Next(); err != nil {
    						b.Errorf("unexpected Next error: %v", err)
    					}
    					if _, err := io.Copy(io.Discard, tr); err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val executeAtNanos = System.nanoTime()
        assertFailsWith<StreamResetException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "stream was reset: PROTOCOL_ERROR",
          )
        }
        val elapsedUntilFailure = System.nanoTime() - executeAtNanos
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble())
          .isCloseTo(1000.0, 250.0)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  8. generics.go

    				bindvar := strings.Builder{}
    				subdb.BindVarTo(&bindvar, subdb.Statement, vv)
    				sql = strings.Replace(sql, bindvar.String(), "?", 1)
    			}
    
    			subdb.Statement.SQL.Reset()
    			subdb.Statement.Vars = stmt.Vars
    			if strings.Contains(sql, "@") {
    				clause.NamedExpr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    			} else {
    				clause.Expr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    			}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. 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)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              </association>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>4.0.0/4.0.99</version>
              <code>
                <![CDATA[
        /**
         * Reset the {@code pluginsMap} field to {@code null}
         */
        public void flushPluginMap() {
        }
    
        /**
         * @return a Map of plugins field with {@code Plugins#getKey()} as key
         * @see Plugin#getKey()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
Back to Top