Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 5,086 for Strings (0.05 sec)

  1. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNull(request.body()); // body() returns String body, not stream
        }
    
        @Test
        public void testBodyStringAfterStreamThrowsException() {
            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
            InputStream stream = new ByteArrayInputStream("test data".getBytes());
            request.body(stream);
    
            try {
                request.body("string body");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-free-version_test.go

    	}
    	if len(freeVersions) != 2 {
    		t.Fatalf("Expected two free versions but got %d", len(freeVersions))
    	}
    
    	freeVersionsTests := []struct {
    		vol          string
    		name         string
    		inclFreeVers bool
    		afterFn      func(fi FileInfo) (string, error)
    		expectedFree bool
    		expectedErr  error
    	}{
    		// ToFileInfo with 'inclFreeVers = true' should return the latest
    		// non-free version if one is present
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/bucket-replication_test.go

    				VersionID:                 "a3348c34-c352-4498-82f0-1098e8b34df9",
    				UserDefined:               map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;abc", UTCNow().AddDate(0, -1, 0).String())},
    			},
    			expectedSync: true,
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    			rcfg: replicationConfig{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            thumbnailQueueThread = new Thread((Runnable) () -> {
                final List<Tuple3<String, String, String>> taskList = new ArrayList<>();
                while (generating) {
                    try {
                        final Tuple3<String, String, String> task = thumbnailTaskQueue.poll(thumbnailTaskQueueTimeout, TimeUnit.MILLISECONDS);
                        if (task == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * @param username the username to authenticate with
         * @param password the password to authenticate with
         */
        public NtlmPasswordAuthentication(final CIFSContext tc, final String domain, final String username, final String password) {
            super(domain != null ? domain : tc.getConfig().getDefaultDomain(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

        }
    
        // Test annotation array immutability
        public void test_annotationValueImmutability() {
            Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class);
            String[] roles1 = secured.value();
            String[] roles2 = secured.value();
    
            // Different array instances should be returned
            assertNotSame(roles1, roles2);
    
            // But values should be the same
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        }
    
        // Helper method to create test user
        private User createTestUser(String username, String password) {
            User user = new User();
            user.setName(username);
            user.setPassword(password);
            user.setRoles(new String[] { "role1", "role2" });
            user.setGroups(new String[] { "group1", "group2" });
            return user;
        }
    
        // Test LdapManager implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    }
    
    // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
    // this is to ensure that if there is a racy parent directory
    // delete in between we can simply retry the operation.
    func mkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsUserCA.java

            }
        }
    
        public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricAggregationBuilder> opLambda) {
            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 212.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbRandomAccessFile(final String url, final String mode, final int shareAccess)
                throws SmbException, MalformedURLException, UnknownHostException {
            this(new SmbFile(url, "", null, shareAccess), mode);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top