Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 5,013 for cstring (0.04 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java

        }
    
        public String getLogMessage() {
            return getId();
        }
    
        public LocalDateTime getRequestedAt() {
            return getUpdatedAt();
        }
    
        public void addField(final String key, final Object value) {
            fields.put(key, value);
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{faces, "☹", -1, []string{"☺☻", ""}},
    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1", "2", "3 4"}},
    	{"1 2", " ", 3, []string{"1", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    	{"bT", "T", math.MaxInt / 4, []string{"b", ""}},
    	{"\xff-\xff", "", -1, []string{"\xff", "-", "\xff"}},
    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

       * @param replacement the character to append to the result string in place of each matching
       *     character in {@code sequence}
       * @return the new string
       */
      public String replaceFrom(CharSequence sequence, char replacement) {
        String string = sequence.toString();
        int pos = indexIn(string);
        if (pos == -1) {
          return string;
        }
        char[] chars = string.toCharArray();
        chars[pos] = replacement;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/netbios/Name.java

            }
            return this.name.equals(n.name) && this.hexCode == n.hexCode && this.scope.equals(n.scope);
        }
    
        @Override
        public String toString() {
            final StringBuilder sb = new StringBuilder();
            String n = this.name;
    
            // fix MSBROWSE name
            if (n == null) {
                n = "null";
            } else if (n.charAt(0) == 0x01) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. tests/postgres_test.go

    	}
    }
    
    func TestPostgresOnConstraint(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    	type Thing struct {
    		gorm.Model
    		SomeID  string
    		OtherID string
    		Data    string
    	}
    
    	DB.Migrator().DropTable(&Thing{})
    	DB.Migrator().CreateTable(&Thing{})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

                    return allowEmptyPermission.get();
                }
    
                public String getRoleSearchUserPrefix() {
                    return "1";
                }
            });
            LdapManager ldapManager = new LdapManager();
            ldapManager.fessConfig = ComponentUtil.getFessConfig();
            final List<String> permissionList = new ArrayList<>();
            LdapUser user = new LdapUser(new Hashtable<>(), "test") {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top