Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for sheugh (0.15 sec)

  1. cmd/storage-datatypes.go

    	// Earlier MinIO versions didn't reset "x-minio-internal-inline-data"
    	// from fi.Metadata when the object was tiered. So, tiered objects
    	// would return true for InlineData() in these versions even though the
    	// object isn't inlined in xl.meta
    	return ok && !fi.IsRemote()
    }
    
    // SetInlineData marks object (version) as inline.
    func (fi *FileInfo) SetInlineData() {
    	if fi.Metadata == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    // UnmarshalXML - decodes XML data.
    func (s3Select *S3Select) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// S3 also supports the older SelectObjectContentRequest tag,
    	// though it is no longer found in documentation. This is
    	// checked and renamed below to allow older clients to also
    	// work.
    	if start.Name.Local == legacyXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    func TestZip64EdgeCase(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	// Test a zip file with uncompressed size 0xFFFFFFFF.
    	// That's the magic marker for a 64-bit file, so even though
    	// it fits in a 32-bit field we must use the 64-bit field.
    	// Go 1.5 and earlier got this wrong,
    	// writing an invalid zip file.
    	const size = 1<<32 - 1 - int64(len("END\n")) // before the "END\n" part
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    // This allocates a total of 32 bytes even though the upper half
    // is unused to avoid bounds checks in asciiSet.contains.
    type asciiSet [8]uint32
    
    // makeASCIISet creates a set of ASCII characters and reports whether all
    // characters in chars are ASCII.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	switch tok.ScanToken {
    	case scanner.Int, scanner.Float, scanner.String, scanner.Char, '+', '-', '~':
    		haveConstant = true
    	case '(':
    		// Could be parenthesized expression or (R). Must be something, though.
    		tok := p.next()
    		if tok.ScanToken == scanner.EOF {
    			p.errorf("missing right parenthesis")
    			return
    		}
    		rname := tok.String()
    		p.back()
    		haveConstant = !p.atStartOfRegister(rname)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    			t.Errorf("scan got incorrect token of length %d", len(token))
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    // negativeEOFReader returns an invalid -1 at the end, as though it
    // were wrapping the read system call.
    type negativeEOFReader int
    
    func (r *negativeEOFReader) Read(p []byte) (int, error) {
    	if *r > 0 {
    		c := int(*r)
    		if c > len(p) {
    			c = len(p)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. cmd/admin-handlers-users_test.go

    			AccessKey:  svcAK,
    			SecretKey:  svcSK,
    		})
    		if err != nil {
    			c.Fatalf("Unable to create svc acc: %v", err)
    		}
    		svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    		// Though the attached policy does not allow listing, it will be
    		// ignored because the plugin allows it.
    		c.mustListObjects(ctx, svcClient, bucket)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-pools.go

    	if objectAPI == nil {
    		return
    	}
    
    	// Proxy rebalance-status to first pool first node, so that users see a
    	// consistent view of rebalance progress even though different rebalancing
    	// pools may temporarily have out of date info on the others.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. cni/pkg/repair/repaircontroller.go

    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    	key := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
    	// We will get an event every time the pod changes. The repair is not instantaneous, though -- it will only recover
    	// once the pod restarts (in CrashLoopBackoff), which can take some time.
    	// We don't want to constantly try to apply the iptables rules, which is unneeded and will fail.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top