Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 59 for Algo (0.06 seconds)

  1. cmd/bitrot.go

    func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 {
    	if algo != HighwayHash256S {
    		return size
    	}
    	return ceilFrac(size, shardSize)*int64(algo.New().Size()) + size
    }
    
    // bitrotVerify a single stream of data.
    func bitrotVerify(r io.Reader, wantSize, partSize int64, algo BitrotAlgorithm, want []byte, shardSize int64) error {
    	if algo != HighwayHash256S {
    		h := algo.New()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. cmd/bitrot-streaming.go

    func newStreamingBitrotWriterBuffer(w io.Writer, algo BitrotAlgorithm, shardSize int64) io.Writer {
    	return &streamingBitrotWriter{iow: ioutil.NopCloser(w), h: algo.New(), shardSize: shardSize, canClose: nil, closeWithErr: func(err error) {}}
    }
    
    // Returns streaming bitrot writer implementation.
    func newStreamingBitrotWriter(disk StorageAPI, origvolume, volume, filePath string, length int64, algo BitrotAlgorithm, shardSize int64) io.Writer {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. cmd/erasure-coding.go

    	for i := range testData {
    		testData[i] = byte(i)
    	}
    	ok := true
    	for algo := invalidErasureAlgo + 1; algo < lastErasureAlgo; algo++ {
    		for _, conf := range testConfigs {
    			failOnErr := func(err error) {
    				if err != nil {
    					logger.Fatal(errSelfTestFailure, "%v: error on self-test [d:%d,p:%d]: %v. Unsafe to start server.\n", algo, conf[0], conf[1], err)
    				}
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. cmd/bitrot-whole.go

    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

         */
        public boolean supportsAlgorithm(int algorithm) {
            if (this.compressionAlgorithms == null) {
                return false;
            }
            for (int algo : this.compressionAlgorithms) {
                if (algo == algorithm) {
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. src/cmd/api/testdata/src/issue21181/p/p.go

    package p
    
    import (
    	"dep"
    )
    
    type algo struct {
    	indrt func(dep.Interface)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 05 17:53:43 GMT 2018
    - 78 bytes
    - Click Count (0)
  7. src/cmd/api/testdata/src/issue21181/p/p_generic.go

    //go:build !amd64
    // +build !amd64
    
    package p
    
    import (
    	"indirect"
    )
    
    var in = []algo{
    	{indirect.F},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 105 bytes
    - Click Count (0)
  8. src/cmd/api/testdata/src/issue21181/p/p_amd64.go

    package p
    
    import "indirect"
    
    var in = []algo{
    	{indirect.F},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 05 17:53:43 GMT 2018
    - 64 bytes
    - Click Count (0)
  9. internal/bucket/encryption/bucket-sse-config.go

    		}
    		return
    	}
    
    	switch b.Algo() {
    	case xhttp.AmzEncryptionAES:
    		headers.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case xhttp.AmzEncryptionKMS:
    		headers.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    		headers.Set(xhttp.AmzServerSideEncryptionKmsID, b.KeyID())
    	}
    }
    
    // Algo returns the SSE algorithm specified by the SSE configuration.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Click Count (0)
  10. docs/pt/docs/deployment/manually.md

    Isso inclui o `uvloop`, a substituição de alto desempenho para `asyncio`, que fornece um grande aumento de desempenho de concorrência.
    
    Quando você instala o FastAPI com algo como `pip install "fastapi[standard]"`, você já obtém `uvicorn[standard]` também.
    
    ///
    
    ## Execute o Programa Servidor { #run-the-server-program }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top