Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 411 for Got (0.06 sec)

  1. internal/hash/checksum.go

    				return ChecksumNone, ""
    			}
    		}
    		return t, s
    	}
    	checkType := func(c ChecksumType) {
    		if got := h.Get(c.Key()); got != "" {
    			// If already set, invalid
    			if t != ChecksumNone {
    				t = ChecksumInvalid
    				s = ""
    			} else {
    				t = c
    				s = got
    			}
    			return
    		}
    	}
    	checkType(ChecksumCRC32)
    	checkType(ChecksumCRC32C)
    	checkType(ChecksumSHA1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/crypto/key_test.go

    			t.Fatalf("Test %d failed to decode expected part-key: %v", i, err)
    		}
    		partKey := key.DerivePartKey(test.PartID)
    		if !bytes.Equal(partKey[:], expectedPartKey) {
    			t.Errorf("Test %d derives wrong part-key: got '%s' want: '%s'", i, hex.EncodeToString(partKey[:]), test.PartKey)
    		}
    	}
    }
    
    var sealUnsealETagTests = []string{
    	"",
    	"90682b8e8cc7609c",
    	"90682b8e8cc7609c4671e1d64c73fc30",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	SD	X5, 4294967296(X6)		// ERROR "constant 4294967296 too large"
    	SRLI	$1, X5, F1			// ERROR "expected integer register in rd position but got non-integer register F1"
    	SRLI	$1, F1, X5			// ERROR "expected integer register in rs1 position but got non-integer register F1"
    	FNES	F1, (X5)			// ERROR "needs an integer register output"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/endpoint_contrib_test.go

    	}
    
    	for _, testCase := range ipv4TestCases {
    		globalDomainIPs = nil
    
    		updateDomainIPs(testCase.endPoints)
    
    		if !testCase.expectedResult.Equals(globalDomainIPs) {
    			t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	c.Helper()
    	rd, err := client.GetObject(ctx, bucket, "some-object", minio.GetObjectOptions{})
    	if err != nil {
    		c.Fatalf("download did not succeed got %#v", err)
    	}
    	if _, err = io.Copy(io.Discard, rd); err != nil {
    		c.Fatalf("download did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustUploadReturnVersions(ctx context.Context, client *minio.Client, bucket string) []string {
    	c.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  6. tests/update_has_one_test.go

    		DB.Migrator().DropTable(&CustomizeAccount{})
    
    		if err := DB.AutoMigrate(&CustomizeUser{}); err != nil {
    			t.Fatalf("failed to migrate, got error: %v", err)
    		}
    		if err := DB.AutoMigrate(&CustomizeAccount{}); err != nil {
    			t.Fatalf("failed to migrate, got error: %v", err)
    		}
    
    		number := "number-has-one-associations"
    		cusUser := CustomizeUser{
    			Name: "update-has-one-associations",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. internal/config/config_test.go

    			}
    			found := true
    			for _, field := range gotFields {
    				_, ok := test.expectedFields[field]
    				found = found && ok
    			}
    			if !found {
    				t.Errorf("Expected %s, got %s", test.expectedFields, gotFields)
    			}
    		})
    	}
    }
    
    func TestValidRegion(t *testing.T) {
    	tests := []struct {
    		name    string
    		success bool
    	}{
    		{name: "us-east-1", success: true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 18 22:55:17 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device.cc

          std::string message(absl::StrCat(
              "The parallel device ", parallel_device_name, " expected ",
              parallel_device.num_underlying_devices(),
              " inputs to TPUReplicatedInput, but got ", inputs.size()));
          TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str());
          return result;
        }
        std::vector<TensorHandlePtr> components;
        components.reserve(inputs.size());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. callbacks.go

    		callbacks = removeCallbacks(callbacks, removedMap)
    	}
    	p.callbacks = callbacks
    
    	if p.fns, err = sortCallbacks(p.callbacks); err != nil {
    		p.db.Logger.Error(context.Background(), "Got error when compile callbacks, got %v", err)
    	}
    	return
    }
    
    func (c *callback) Before(name string) *callback {
    	c.before = name
    	return c
    }
    
    func (c *callback) After(name string) *callback {
    	c.after = name
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cmd/http-tracer_test.go

    		},
    		{
    			"?x=y&a=b",
    			"?x=y&a=b",
    		},
    	}
    	for i, test := range testCases {
    		gotQuery := redactLDAPPwd(test.query)
    		if gotQuery != test.expectedQuery {
    			t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top