Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for computing (0.19 sec)

  1. internal/hash/sha256/sh256_fips.go

    //go:build fips
    // +build fips
    
    package sha256
    
    import (
    	fipssha256 "crypto/sha256"
    	"hash"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is FIPS 140-2 compliant when the
    // boringcrypto branch of Go is used.
    // Ref: https://github.com/golang/go/tree/dev.boringcrypto
    func New() hash.Hash { return fipssha256.New() }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/hash/sha256/sh256_nofips.go

    //go:build !fips
    // +build !fips
    
    package sha256
    
    import (
    	"hash"
    
    	nofipssha256 "github.com/minio/sha256-simd"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is not FIPS 140-2 compliant.
    func New() hash.Hash { return nofipssha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. internal/hash/reader.go

    // NewReader then it should be set to -1.
    // When size is >=0 it *must* match the amount of data provided by r.
    //
    // NewReader may try merge the given size, MD5 and SHA256 values
    // into src - if src is a Reader - to avoid computing the same
    // checksums multiple times.
    // NewReader enforces S3 compatibility strictly by ensuring caller
    // does not send more content than specified size.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    	}
    	if parent != nil {
    		p := d.Cache[parent.Key()]
    		p.addChild(hash)
    		d.Cache[parent.Key()] = p
    	}
    }
    
    // reduceChildrenOf will reduce the recursive number of children to the limit
    // by compacting the children with the least number of objects.
    func (d *dataUsageCache) reduceChildrenOf(path dataUsageHash, limit int, compactSelf bool) {
    	e, ok := d.Cache[path.Key()]
    	if !ok {
    		return
    	}
    	if e.Compacted {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format_test.go

    	}
    	return xlMeta
    }
    
    // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing.
    func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
    	// Start comparing the fields of xlMetaV1Object obtained from jsoniter parsing with one parsed using json unmarshalling.
    	if unMarshalXLMeta.Version != jsoniterXLMeta.Version {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"},          // Issue 12468.
    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    	// but does not currently support persisting the global state across files.
    	TypeXGlobalHeader = 'g'
    
    	// Type 'S' indicates a sparse file in the GNU format.
    	TypeGNUSparse = 'S'
    
    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)
  9. src/cmd/cgo/gcc.go

    			n.Kind = "type"
    		case notIntConst | notNumConst | notStrLiteral | notType:
    			n.Kind = "not-type"
    		}
    		needType = append(needType, n)
    	}
    	if nerrors > 0 {
    		// Check if compiling the preamble by itself causes any errors,
    		// because the messages we've printed out so far aren't helpful
    		// to users debugging preamble mistakes. See issue 8442.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    			into.Compacted = true
    			newFolders = append(newFolders, existingFolders...)
    			existingFolders = nil
    			if f.dataUsageScannerDebug {
    				console.Debugf(scannerLogPrefix+" Preemptively compacting: %v, entries: %v\n", folder.name, len(existingFolders)+len(newFolders))
    			}
    		}
    
    		scanFolder := func(folder cachedFolder) {
    			if contextCanceled(ctx) {
    				return
    			}
    			dst := into
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
Back to top