Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for tant (0.12 sec)

  1. cmd/xl-storage-format-utils_test.go

    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    			want = hashDeterministicString(m)
    			delete(m, "12312312")
    			m["another"] = ""
    
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			want = hashDeterministicString(m)
    			m["another"] = "hashDeterministicString"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. cmd/metacache_test.go

    		name   string
    		prefix string
    		want   string
    	}{
    		{
    			name:   "root",
    			prefix: "object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootdotslash",
    			prefix: "./object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootslash",
    			prefix: "/",
    			want:   "",
    		},
    		{
    			name:   "folder",
    			prefix: "prefix/",
    			want:   "prefix/",
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  3. docs/ftp/README.md

    Default port '8021' can be changed via
    
    ```
    --ftp="address=:3021"
    ```
    
    ### Change FTP passive port range
    
    By default FTP requests OS to give a free port automatically, however you may want to restrict
    this to specific ports in certain restricted environments via
    
    ```
    --ftp="passive-port-range=30000-40000"
    ```
    
    ### Change default SFTP port
    
    Default port '8022' can be changed via
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. internal/dsync/dsync-server_test.go

    	// and positive values indicating number of read locks
    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_test.go

    			t.Errorf("Test%d (%s): Size  got %d , want %d", i+1, test.name, actualSize, test.expectedCompletedSize)
    		}
    		if repStatusStr := rinfos.ReplicationStatusInternal(); repStatusStr != test.expectedReplicationStatusInternal {
    			t.Errorf("Test%d (%s): Internal replication status  got %s , want %s", i+1, test.name, repStatusStr, test.expectedReplicationStatusInternal)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  6. docs/debugging/inspect/decrypt-v1.go

    		return err
    	}
    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    	// Verify that CRC is ok.
    	want := binary.LittleEndian.Uint32(id)
    	got := crc32.ChecksumIEEE(key)
    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/s3select/simdj/reader_amd64_test.go

    				err = rec.WriteJSON(&gotB)
    				if err != nil {
    					t.Error(err)
    				}
    				err = want.WriteJSON(&wantB)
    				if err != nil {
    					t.Error(err)
    				}
    				// truncate newline from 'want'
    				wantB.Truncate(wantB.Len() - 1)
    				if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) {
    					t.Errorf("JSON output mismatch.\nwant: %s\ngot:  %s", wantB.String(), gotB.String())
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. internal/crypto/sse_test.go

    	if domain := S3.String(); domain != Domain {
    		t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    func TestSSECString(t *testing.T) {
    	const Domain = "SSE-C"
    	if domain := SSEC.String(); domain != Domain {
    		t.Errorf("SSEC's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    var ssecUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/feature_request.md

    A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    
    **Describe the solution you'd like**
    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 07 20:49:54 GMT 2019
    - 610 bytes
    - Viewed (0)
  10. internal/kms/dek_test.go

    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    		if !bytes.Equal(key.Ciphertext, test.Key.Ciphertext) {
    			t.Fatalf("Test %d: ciphertext mismatch: got %x - want %x", i, key.Ciphertext, test.Key.Ciphertext)
    		}
    	}
    }
    
    func mustDecodeB64(s string) []byte {
    	b, err := base64.StdEncoding.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.2K bytes
    - Viewed (0)
Back to top