Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 474 for wants (0.03 sec)

  1. cmd/batch-handlers_test.go

      - "bar"
    `,
    			},
    			want: []string{"foo", "bar"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr {
    				t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if !slices.Equal(tt.b.Prefix.F(), tt.want) {
    				t.Errorf("UnmarshalYAML() = %v, want %v", tt.b.Prefix.F(), tt.want)
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    		{"abc//./../def", "def"},
    		{"abc/../../././../def", "../../def"},
    	}
    	for _, test := range cleantests {
    		want := test.path != test.result
    		got := pathNeedsClean([]byte(test.path))
    		if !got {
    			t.Logf("no clean: %q", test.path)
    		}
    		if want && !got {
    			t.Errorf("input: %q, want %v, got %v", test.path, want, got)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. cmd/generic-handlers_test.go

    	tests := []struct {
    		name  string
    		input string
    		want  bool
    	}{
    		{name: "empty", input: "", want: false},
    		{name: "backslashes", input: `\a\a\ \\  \\\\\\\`, want: false},
    		{name: "long", input: strings.Repeat("a/", 2000), want: false},
    		{name: "long-fail", input: strings.Repeat("a/", 2000) + "../..", want: true},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(b *testing.B) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4_test.go

    		tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
    	}
    	for _, tt := range tests {
    		got, err := parseHexUint([]byte(tt.in))
    		if tt.wantErr != "" {
    			if err != nil && !strings.Contains(err.Error(), tt.wantErr) {
    				t.Errorf("parseHexUint(%q) = %v, %v; want error %q", tt.in, got, err, tt.wantErr)
    			}
    		} else {
    			if err != nil || got != tt.want {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. docs/resiliency/resiliency-verify-healing-script.sh

    GOT=$(echo $GOT | jq "${JQUERY}")
    
    if [ "$(echo "$GOT" | jq -S .)" = "$(echo "$WANT" | jq -S .)" ]; then
    	echo "script passed" >resiliency-verify-healing.log
    else
    	echo "Error during healing:"
    	echo "----GOT: "$GOT
    	echo "---WANT: "$WANT
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 996 bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-status-codes.md

    If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly.
    
    For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. 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)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ///
    
    ## Previous Steps Before Starting { #previous-steps-before-starting }
    
    There are many cases where you want to perform some steps **before starting** your application.
    
    For example, you might want to run **database migrations**.
    
    But in most cases, you will want to perform these steps only **once**.
    
    So, you will want to have a **single process** to perform those **previous steps**, before starting the application.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/databaseInfoMap.dfprop

        # o variousMap: (NotRequired - Default map:{})
        #  The various settings about JDBC task mainly.
        #
        ; variousMap = map:{
            # o objectTypeTargetList: (NotRequired - Default list:{TABLE;VIEW})
            #  If you want to include other object types in generating target,
            #  you should specify the list of included object types as adding.
            #    e.g. Synonym of Oracle --> list:{TABLE ; VIEW ; SYNONYM}
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 7.3K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    				}
    			}
    			wantCS := map[string]string{
    				hash.ChecksumCRC32.String():     part.ChecksumCRC32,
    				hash.ChecksumCRC32C.String():    part.ChecksumCRC32C,
    				hash.ChecksumSHA1.String():      part.ChecksumSHA1,
    				hash.ChecksumSHA256.String():    part.ChecksumSHA256,
    				hash.ChecksumCRC64NVME.String(): part.ChecksumCRC64NVME,
    			}
    			if wantCS[checksumType.String()] != crc {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top