Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 4,354 for string (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    }
    
                    if (parameterConfiguration != null) {
                        Map<String, String> attributes = new HashMap<>(parameterConfiguration.attributes());
    
                        String attributeForImplementation = parameterConfiguration.attribute("implementation");
                        String parameterForImplementation = parameter.getImplementation();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  4. internal/rest/client.go

    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // removeEmptyPort strips the empty port in ":port" to ""
    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    	return host
    }
    
    // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            }
        }
    
        public ArtifactMetadata(String groupId, String name, String version) {
            this(groupId, name, version, null);
        }
    
        public ArtifactMetadata(String groupId, String name, String version, String type) {
            this(groupId, name, version, type, null);
        }
    
        public ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. 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)
  7. internal/config/identity/ldap/ldap.go

    func (l *Config) LookupGroupMemberships(userDistNames []string, userDNToUsernameMap map[string]string) (map[string]set.StringSet, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, err
    	}
    
    	res := make(map[string]set.StringSet, len(userDistNames))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  8. internal/config/dns/dns_path.go

    }
    
    // msgUnPath converts a etcd path to domainName.
    func msgUnPath(s string) string {
    	ks := strings.Split(strings.Trim(s, etcdPathSeparator), etcdPathSeparator)
    	for i, j := 0, len(ks)-1; i < j; i, j = i+1, j-1 {
    		ks[i], ks[j] = ks[j], ks[i]
    	}
    	return strings.Join(ks, ".")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/flags/flags.go

    	DebugFlags.CompressInstructions = 1
    }
    
    // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2.
    type MultiFlag []string
    
    func (m *MultiFlag) String() string {
    	if len(*m) == 0 {
    		return ""
    	}
    	return fmt.Sprint(*m)
    }
    
    func (m *MultiFlag) Set(val string) error {
    	(*m) = append(*m, val)
    	return nil
    }
    
    func Usage() {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 18 08:58:00 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

                    new TestStringListMultimapGenerator() {
                      @Override
                      protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
                        ListMultimap<String, String> multimap = ArrayListMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top