Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for sloc (0.04 sec)

  1. cmd/admin-handlers-users-race_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    //go:build !race
    // +build !race
    
    // Tests in this file are not run under the `-race` flag as they are too slow
    // and cause context deadline errors.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. internal/config/heal/heal.go

    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/cleanup.go

    		// This includes things like leader election locks (allowing next test to start without 30s delay),
    		// custom cacerts, custom kubeconfigs, etc.
    		// We avoid deleting the whole namespace since its extremely slow in Kubernetes (30-60s+)
    		if e := c.Kube().CoreV1().Secrets(i.cfg.SystemNamespace).DeleteCollection(
    			context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}); e != nil {
    			err = multierror.Append(err, e)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. internal/config/scanner/scanner.go

    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 100, 15*time.Second, 30*time.Minute
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/log/slog/value_test.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package slog
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestKindString(t *testing.T) {
    	if got, want := KindGroup.String(), "Group"; got != want {
    		t.Errorf("got %q, want %q", got, want)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/nilfunc
    golang.org/x/tools/go/analysis/passes/printf
    golang.org/x/tools/go/analysis/passes/shift
    golang.org/x/tools/go/analysis/passes/sigchanyzer
    golang.org/x/tools/go/analysis/passes/slog
    golang.org/x/tools/go/analysis/passes/stdmethods
    golang.org/x/tools/go/analysis/passes/stdversion
    golang.org/x/tools/go/analysis/passes/stringintconv
    golang.org/x/tools/go/analysis/passes/structtag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/veeam-sos-api.go

    //     higher task limit).
    //
    //     <S3ConcurrentTaskLimit>
    //
    //   - Defines how many S3 operations are executed parallel within one Repository Task Slot (and within one backup object
    //     that gets offloaded). The same registry key setting overwrites the storage-defined setting.
    //     Optional value, default 64, range: 1-unlimited
    //
    //   - <S3MultiObjectDeleteLimit>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/sha3/sha3.go

    		if d.n == 0 && len(p) >= d.rate {
    			// The fast path; absorb a full "rate" bytes of input and apply the permutation.
    			xorIn(d, p[:d.rate])
    			p = p[d.rate:]
    			keccakF1600(&d.a)
    		} else {
    			// The slow path; buffer the input until we can fill the sponge, and then xor it in.
    			todo := d.rate - d.n
    			if todo > len(p) {
    				todo = len(p)
    			}
    			d.n += copy(d.storage[d.n:], p[:todo])
    			p = p[todo:]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/node_matchers_test.cc

      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(0, NodeWith(Op("Switch"))), _))),
          "\ninput 0 does not match expected:\nop: Switch, \nexpected output slot "
          "to be 0 but found 1");
    }
    
    TEST(NodeMatchers, Attrs) {
      Scope root = Scope::NewRootScope().ExitOnError();
      Output enter = ops::internal::Enter(
          root.WithOpName("enter"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top