- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 4,411 for strings (0.11 seconds)
-
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
static final Integer NODE_NOT_IN_GRAPH = 1000; // TODO(user): Consider separating Strings that we've defined here to capture // identifiable substrings of expected error messages, from Strings that we've defined // here to provide error messages. // TODO(user): Some Strings used in the subclasses can be added as static Strings // here too. static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/update_test.go
if durl != mesosDeploymentDoc { t.Errorf("Expected %s, got %s", mesosDeploymentDoc, durl) } } // Tests user agent string. func TestUserAgent(t *testing.T) { testCases := []struct { envName string envValue string mode string expectedStr string }{ { envName: "", envValue: "", mode: globalMinioModeFS,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 10.4K bytes - Click Count (0) -
cmd/namespace-lock.go
ns *nsLockMap volume string paths []string opsID string } // NewNSLock - returns a lock instance for a given volume and // path. The returned lockInstance object encapsulates the nsLockMap, // volume, path and operation ID. func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker { sort.Strings(paths) opsID := mustGetUUID()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
// SASLprep fails, the method returns an error. func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) { x.Client, err = x.NewClient(userName, password, authzID) if err != nil { return err } x.ClientConversation = x.NewConversation() return nil } // Step takes a string provided from a server (or just an empty string for the // very first conversation step) and attempts to move the authentication
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/event/target/postgresql.go
Format string `json:"format"` ConnectionString string `json:"connectionString"` Table string `json:"table"` Host xnet.Host `json:"host"` // default: localhost Port string `json:"port"` // default: 5432 Username string `json:"username"` // default: user running minio Password string `json:"password"` // default: no password
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
utils/utils_test.go
t.Errorf("%v: expected %v, got %v", c.values, c.key, key) } } } func TestContains(t *testing.T) { containsTests := []struct { name string elems []string elem string out bool }{ {"exists", []string{"1", "2", "3"}, "1", true}, {"not exists", []string{"1", "2", "3"}, "4", false}, } for _, test := range containsTests { t.Run(test.name, func(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/metrics-v2_test.go
histBuckets := []float64{0.50, 5.00} labels := []string{"PutObject", "CopyObject"} ttfbHist := prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds", Help: "Time taken by requests served by current MinIO server instance", Buckets: histBuckets, }, []string{"api"}, ) observations := []struct { val float64 label string }{ { val: 0.02,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.8K bytes - Click Count (0) -
tests/serializer_test.go
func (*SerializerPostgresStruct) TableName() string { return "serializer_structs" } func adaptorSerializerModel(s *SerializerStruct) interface{} { if DB.Dialector.Name() == "postgres" || DB.Dialector.Name() == "gaussdb" { sps := SerializerPostgresStruct(*s) return &sps } return s } type Roles []string type Job struct { Title string Number int Location string IsIntern bool }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/config/identity/openid/provider/keycloak.go
sync.Mutex oeConfig DiscoveryDoc client http.Client adminURL string realm string // internal value refreshed accessToken Token } // LoginWithUser authenticates username/password, not needed for Keycloak func (k *KeycloakProvider) LoginWithUser(username, password string) error { return ErrNotImplemented } // LoginWithClientID is implemented by Keycloak service account support
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jul 14 18:12:07 GMT 2024 - 4.6K bytes - Click Count (0)