Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,450 for var1 (0.03 sec)

  1. internal/config/storageclass/storage-class_test.go

    				Parity: 8,
    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    		// Set env var for test case 4
    		if i+1 == 4 {
    			scfg.RRS.Parity = 7
    		}
    		// Set env var for test case 5
    		if i+1 == 5 {
    			scfg.Standard.Parity = 6
    		}
    		// Set env var for test case 6
    		if i+1 == 6 {
    			scfg.Standard.Parity = 7
    		}
    		parity := scfg.GetParityForSC(tt.sc)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. internal/s3select/parquet/reader.go

    	nextRow, err := pr.r.NextRow()
    	if err != nil {
    		if err == io.EOF {
    			return nil, err
    		}
    		return nil, errParquetParsingError(err)
    	}
    
    	kvs := jstream.KVS{}
    	for _, col := range pr.r.Columns() {
    
    		var value interface{}
    		if v, ok := nextRow[col.FlatName()]; ok {
    			value, err = convertFromAnnotation(col.Element(), v)
    			if err != nil {
    				return nil, errParquetParsingError(err)
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	// 10
    }
    
    func ExampleBuffer_Grow() {
    	var b bytes.Buffer
    	b.Grow(64)
    	bb := b.Bytes()
    	b.Write([]byte("64 bytes or fewer"))
    	fmt.Printf("%q", bb[:b.Len()])
    	// Output: "64 bytes or fewer"
    }
    
    func ExampleBuffer_Len() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%d", b.Len())
    	// Output: 5
    }
    
    func ExampleBuffer_Next() {
    	var b bytes.Buffer
    	b.Grow(64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    	for zb0003 := range z {
    		s += msgp.StringPrefixSize + len(z[zb0003])
    	}
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobRequest) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/console"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/pkg/v3/workers"
    	"gopkg.in/yaml.v3"
    )
    
    var globalBatchConfig batch.Config
    
    const (
    	// Keep the completed/failed job stats 3 days before removing it
    	oldJobsExpiration = 3 * 24 * time.Hour
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/transition_test.go

    		  </Transition>`,
    			err: errTransitionInvalid,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    		  </Transition>`,
    			err: errXMLNotWellFormed,
    		},
    	}
    
    	for i, tc := range trTests {
    		var tr Transition
    		err := xml.Unmarshal([]byte(tc.input), &tr)
    		if err != nil {
    			t.Fatalf("%d: xml unmarshal failed with %v", i+1, err)
    		}
    		if err = tr.Validate(); err != tc.err {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 01 18:58:17 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. cmd/grid.go

    	"github.com/minio/minio/internal/rest"
    )
    
    // globalGrid is the global grid manager.
    var globalGrid atomic.Pointer[grid.Manager]
    
    // globalLockGrid is the global lock grid manager.
    var globalLockGrid atomic.Pointer[grid.Manager]
    
    // globalGridStart is a channel that will block startup of grid connections until closed.
    var globalGridStart = make(chan struct{})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-drive.go

    	apiL = "api"
    
    	sectorSize = uint64(512)
    	kib        = float64(1 << 10)
    
    	driveHealthOffline = float64(0)
    	driveHealthOnline  = float64(1)
    	driveHealthHealing = float64(2)
    )
    
    var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL}
    
    const (
    	driveUsedBytes               = "used_bytes"
    	driveFreeBytes               = "free_bytes"
    	driveTotalBytes              = "total_bytes"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. callbacks/associations.go

    									dest[rel.Name] = elem.Interface()
    								}
    							}
    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    					if !isPtr {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top