- Sort Score
- Result 10 results
- Languages All
Results 1111 - 1120 of 1,384 for funcs (0.04 sec)
-
cmd/config-migrate.go
) // Save config file to corresponding backend func Save(configFile string, data interface{}) error { return quick.SaveConfig(data, configFile, globalEtcdClient) } // Load config from backend func Load(configFile string, data interface{}) (quick.Config, error) { return quick.LoadConfig(configFile, globalEtcdClient, data) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bufio" "bytes" "fmt" "io" "strings" "testing" ) // Test read chunk line. func TestReadChunkLine(t *testing.T) { type testCase struct { reader *bufio.Reader expectedErr error chunkSize []byte chunkSignature []byte } // List of readers used. readers := []io.Reader{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
internal/config/subnet/subnet.go
) const ( respBodyLimit = 1 << 20 // 1 MiB // LoggerWebhookName - subnet logger webhook target LoggerWebhookName = "subnet" ) // Upload given file content (payload) to specified URL func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) { if !c.Registered() { return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 27 16:35:36 UTC 2023 - 2.9K bytes - Viewed (0) -
src/bytes/bytes_js_wasm_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build js && wasm package bytes_test import ( "bytes" "testing" ) func TestIssue65571(t *testing.T) { b := make([]byte, 1<<31+1) b[1<<31] = 1 i := bytes.IndexByte(b, 1) if i != 1<<31 { t.Errorf("IndexByte(b, 1) = %d; want %d", i, 1<<31) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jul 17 07:00:20 UTC 2024 - 417 bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
expectedReplicationStatus: replication.Failed, expectedOpType: replication.ObjectReplicationType, expectedAction: replicateAll, }, } func TestReplicatedInfos(t *testing.T) { for i, test := range replicatedInfosTests { rinfos := replicatedInfos{ Targets: test.tgtInfos, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 08 20:27:40 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
import ( "bytes" "context" "testing" ) // Wrapper for calling GetObjectInfo tests for both Erasure multiple disks and single node setup. func TestGetObjectInfo(t *testing.T) { ExecObjectLayerTest(t, testGetObjectInfo) } // Testing GetObjectInfo(). func testGetObjectInfo(obj ObjectLayer, instanceType string, t TestErrHandler) { // This bucket is used for testing getObjectInfo operations.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
*len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1); return ret; } char* TF_FunctionDebugString(TF_Function* func, size_t* len) { const auto& debug_str = DebugString(func->record->fdef()); *len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1); return ret; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
internal/config/certs_test.go
} if len(certs) != testCase.expectedResultLen { t.Fatalf("certs: expected = %v, got = %v", testCase.expectedResultLen, len(certs)) } } } func TestLoadX509KeyPair(t *testing.T) { t.Cleanup(func() { os.Unsetenv(EnvCertPassword) }) for i, testCase := range loadX509KeyPairTests { privateKey, err := createTempFile("private.key", testCase.privateKey) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0) -
cmd/storagemetric_string.go
// Code generated by "stringer -type=storageMetric -trimprefix=storageMetric xl-storage-disk-id-check.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[storageMetricMakeVolBulk-0] _ = x[storageMetricMakeVol-1] _ = x[storageMetricListVols-2]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/arn/arn.go
} // String - returns string representation of the ARN. func (arn ARN) String() string { return strings.Join( []string{ arnPrefixArn, arn.Partition, arn.Service, arn.Region, "", // account-id is always empty in this implementation arn.ResourceType + "/" + arn.ResourceID, }, ":", ) } // Parse - parses an ARN string into a type. func Parse(arnStr string) (arn ARN, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0)