Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for implementation (0.2 sec)

  1. src/builtin/builtin.go

    func recover() any
    
    // The print built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    // Print is useful for bootstrapping and debugging; it is not guaranteed
    // to stay in the language.
    func print(args ...Type)
    
    // The println built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    	}
    	// Request more data.
    	return 0, nil, nil
    }
    
    // isSpace reports whether the character is a Unicode white space character.
    // We avoid dependency on the unicode package, but check validity of the implementation
    // in the tests.
    func isSpace(r rune) bool {
    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    	// Approx runtime ~30ms
    	data := make([]byte, 4<<20)
    	rng := rand.New(rand.NewSource(0))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. cmd/encryption-v1_test.go

    	testMPs := []struct {
    		decSizes []int64
    		oi       ObjectInfo
    	}{
    		{s1, mkMPObj(s1)},
    		{s2, mkMPObj(s2)},
    		{s3, mkMPObj(s3)},
    	}
    
    	// This function is a reference (re-)implementation of
    	// decrypted range computation, written solely for the purpose
    	// of the unit tests.
    	//
    	// `s` gives the decrypted part sizes, and the other
    	// parameters describe the desired read segment. When
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  6. internal/etag/etag.go

    //	SSE-KMS: ETag != MD5
    //
    // # Encrypted ETags
    //
    // An S3 implementation has to remember the content MD5 of objects
    // in case of SSE-S3. However, storing the ETag of an encrypted
    // object in plaintext may reveal some information about the object.
    // For example, two objects with the same ETag are identical with
    // a very high probability.
    //
    // Therefore, an S3 implementation may encrypt an ETag before storing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    		return errXLBackend
    	}
    
    	return nil
    }
    
    // A single function to write certain errors to be fatal
    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	ExecObjectLayerTest(t, testListBucketsOrder)
    }
    
    // Tests validate the order of result of ListBuckets.
    func testListBucketsOrder(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// if implementation contains a map, order of map keys will vary.
    	// this ensures they return in the same order each time.
    	// add one and test exists.
    	err := obj.MakeBucket(context.Background(), "bucket1", MakeBucketOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    	startTime := time.Now()
    	source := getSource(2)
    	return func(err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top