Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1211 - 1220 of 7,132 for String (0.07 seconds)

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

      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArray() {
        String[] sourceArray = new String[] {"a", "b", "c"};
        Iterator<String> iterator = asList(sourceArray).iterator();
        String[] newArray = Iterators.toArray(iterator, String.class);
        assertThat(newArray).isEqualTo(sourceArray);
      }
    
      public void testFilterSimple() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

                .<String>nodeOrder(ElementOrder.<String>natural());
        ImmutableValueGraph.Builder<String, Integer> immutableValueGraphBuilder =
            graphBuilder.<String, Integer>immutable();
    
        // Update ValueGraphBuilder, but this shouldn't impact immutableValueGraphBuilder
        graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. cmd/kms-handlers_test.go

    	userSecretKey = "miniofakeusersecret"
    )
    
    type kmsTestCase struct {
    	name   string
    	method string
    	path   string
    	query  map[string]string
    
    	// User credentials and policy for request
    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    	wantKeyNames   []string
    	wantResp       []string
    }
    
    func TestKMSHandlersCreateKey(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. internal/arn/arn.go

    	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) {
    	ps := strings.Split(arnStr, ":")
    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            return pluginDescriptor;
        }
    
        private String extractGroupId(PlexusConfiguration c) {
            return c.getChild("groupId").getValue();
        }
    
        private String extractArtifactId(PlexusConfiguration c) {
            return c.getChild("artifactId").getValue();
        }
    
        private String extractVersion(PlexusConfiguration c) {
            return c.getChild("version").getValue();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        private String testFieldWithMessage;
    
        // Test field with groups
        @CustomSize(groups = { TestGroup.class })
        private String testFieldWithGroups;
    
        // Test field with payload
        @CustomSize(payload = { TestPayload.class })
        private String testFieldWithPayload;
    
        // Test method with CustomSize annotation
        @CustomSize(minKey = "method.min", maxKey = "method.max")
        public String testMethod() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/guide/GetExample.java

    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                return true;
            }
    
            @Override
            public String getNotificationTo() {
                return "******@****.***,******@****.***";
            }
    
            @Override
            public String getMailFromAddress() {
                return "******@****.***";
            }
    
            @Override
            public String getMailFromName() {
                return "Fess System";
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

    @DisplayName("UUID Tests")
    class UUIDTest {
    
        // Test data for a valid UUID string
        private static final String VALID_UUID_STRING = "00112233-4455-6677-8899-AABBCCDDEEFF";
        private static final String VALID_UUID_STRING_LOWERCASE = "00112233-4455-6677-8899-aabbccddeeff";
    
        // Corresponding values for the valid UUID string
        private static final int TIME_LOW = 0x00112233;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            private String nullify(String str) {
                return (str == null || str.isEmpty()) ? null : str;
            }
    
            @Override
            public Object getKey() {
                return metadata.toString();
            }
    
            @Override
            public String getRemoteFilename() {
                return metadata.getType();
            }
    
            @Override
            public String getLocalFilename(ArtifactRepository repository) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top