Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,097 for var1 (0.02 sec)

  1. cmd/iam-store.go

    // of policies if not in the memory
    func (store *IAMStoreSys) MergePolicies(policyName string) (string, policy.Policy) {
    	var policies []string
    	var missingPolicies []string
    	var toMerge []policy.Policy
    
    	cache := store.rlock()
    	for _, policy := range newMappedPolicy(policyName).toSlice() {
    		if policy == "" {
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    		var replicationCfg replicationConfig
    		if !f.oldCache.Info.replication.Empty() && f.oldCache.Info.replication.Config.HasActiveRules(prefix, true) {
    			replicationCfg = f.oldCache.Info.replication
    		}
    
    		if f.weSleep() {
    			scannerSleeper.Sleep(ctx, dataScannerSleepPerFolder)
    		}
    
    		var existingFolders, newFolders []cachedFolder
    		var foundObjects bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  3. doc/go_mem.html

    </p>
    
    <p class="rule">
    A send on a channel is synchronized before the completion of the
    corresponding receive from that channel.
    </p>
    
    <p>
    This program:
    </p>
    
    <pre>
    var c = make(chan int, 10)
    var a string
    
    func f() {
    	a = "hello, world"
    	c &lt;- 0
    }
    
    func main() {
    	go f()
    	&lt;-c
    	print(a)
    }
    </pre>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/archive/tar/example_test.go

    package tar_test
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/types, method (*Var) Anonymous() bool
    pkg go/types, method (*Var) Exported() bool
    pkg go/types, method (*Var) Id() string
    pkg go/types, method (*Var) IsField() bool
    pkg go/types, method (*Var) Name() string
    pkg go/types, method (*Var) Parent() *Scope
    pkg go/types, method (*Var) Pkg() *Package
    pkg go/types, method (*Var) Pos() token.Pos
    pkg go/types, method (*Var) String() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    	}
    	if c.Dir != "" {
    		s += fmt.Sprintf(" [%s]", c.Dir)
    	}
    	return s
    }
    
    var internalPkg = regexp.MustCompile(`(^|/)internal($|/)`)
    
    var exitCode = 0
    
    func Check(t *testing.T) {
    	checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var nextFiles []string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_test.go

    	"encoding/gob"
    	"io"
    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. cmd/benchmark-utils_test.go

    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. cmd/scannermetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[scannerMetricReadMetadata-0]
    	_ = x[scannerMetricCheckMissing-1]
    	_ = x[scannerMetricSaveUsage-2]
    	_ = x[scannerMetricApplyAll-3]
    	_ = x[scannerMetricApplyVersion-4]
    	_ = x[scannerMetricTierObjSweep-5]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. api/go1.4.txt

    pkg unicode, var Modi *RangeTable
    pkg unicode, var Mro *RangeTable
    pkg unicode, var Nabataean *RangeTable
    pkg unicode, var Old_North_Arabian *RangeTable
    pkg unicode, var Old_Permic *RangeTable
    pkg unicode, var Pahawh_Hmong *RangeTable
    pkg unicode, var Palmyrene *RangeTable
    pkg unicode, var Pau_Cin_Hau *RangeTable
    pkg unicode, var Psalter_Pahlavi *RangeTable
    pkg unicode, var Siddham *RangeTable
    pkg unicode, var Tirhuta *RangeTable
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
Back to top