Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 472 for wantCS (0.04 sec)

  1. 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)
  2. tests/preload_suits_test.go

    	}
    
    	if !reflect.DeepEqual(got[0], want) && !reflect.DeepEqual(got[1], want) {
    		t.Fatalf("got %s; want array containing %s", toJSONString(got), toJSONString(want))
    	}
    
    	if !reflect.DeepEqual(got[0], want2) && !reflect.DeepEqual(got[1], want2) {
    		t.Errorf("got %s; want array containing %s", toJSONString(got), toJSONString(want2))
    	}
    }
    
    func TestNilPointerSlice2(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 05 11:34:13 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. cmd/metacache-entries_test.go

    	// Merge b into a
    	a.merge(b, -1)
    	//nolint:gocritic
    	want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...)
    	sort.Strings(want)
    	got := a.entries().names()
    	if len(got) != len(want) {
    		t.Errorf("unexpected count, want %v, got %v", len(want), len(got))
    	}
    
    	for i, name := range got {
    		if want[i] != name {
    			t.Errorf("unexpected name, want %q, got %q", want[i], name)
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    				}
    			})
    
    			if len(gots) != len(test.wants) {
    				t.Fatalf("Expected %d objects but got %d", len(test.wants), len(gots))
    			}
    			if slices.CompareFunc(gots, test.wants, func(g, w ObjectInfo) int {
    				if g.VersionID == w.VersionID {
    					return 0
    				}
    				return -1
    			}) != 0 {
    				t.Fatalf("Expected %v but got %v", test.wants, gots)
    			}
    			// verify the objects to be deleted
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4_test.go

    			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 {
    				t.Errorf("parseHexUint(%q) = %v, %v; want %v", tt.in, got, err, 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)
  6. 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)
  7. docs/en/docs/tutorial/response-model.md

    ## Return Type and Data Filtering { #return-type-and-data-filtering }
    
    Let's continue from the previous example. We wanted to **annotate the function with one type**, but we wanted to be able to return from the function something that actually includes **more data**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. cmd/kms-handlers_test.go

    		for i, want := range keys {
    			if want.CreatedBy != kms.StubCreatedBy {
    				t.Fatalf("want key created by %s, got %s", kms.StubCreatedBy, want.CreatedBy)
    			}
    			if want.CreatedAt != kms.StubCreatedAt {
    				t.Fatalf("want key created at %s, got %s", kms.StubCreatedAt, want.CreatedAt)
    			}
    			if test.wantKeyNames[i] != want.Name {
    				t.Fatalf("want key name %s, got %s", test.wantKeyNames[i], want.Name)
    			}
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. README.md

    ## Adding Guava to your build
    
    Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
    Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
    for use on Android or by any library that wants to be compatible with Android.
    These flavors are specified in the Maven version field as either `33.4.8-jre` or
    `33.4.8-android`. For more about depending on Guava, see
    [using Guava in your build].
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 05 15:30:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

             * were running under a new enough version of Android to support NIO.
             *
             * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another*
             * layer of fallback before consulting the system property, we could try
             * com.sun.security.auth.module.NTSystem.
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top