Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 4,989 for STRING (0.1 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

      @Test
      fun stringEmpty() {
        val body = body("")
        assertThat(body.string()).isEqualTo("")
      }
    
      @Test
      fun stringLooksLikeBomButTooShort() {
        val body = body("000048")
        assertThat(body.string()).isEqualTo("\u0000\u0000H")
      }
    
      @Test
      fun stringDefaultsToUtf8() {
        val body = body("68656c6c6f")
        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringExplicitCharset() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/systeminfo/ApiAdminSysteminfoAction.java

        @Execute
        public JsonResponse<ApiResult> get$index() {
            final List<Map<String, String>> bugReportItems = getBugReportItems();
            final List<Map<String, String>> envItems = getEnvItems();
            final List<Map<String, String>> fessPropItems = getFessPropItems(fessConfig);
            final List<Map<String, String>> propItems = getPropItems();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    func (b byResourceUID) Less(i, j int) bool {
    	toUniqLock := func(entry madmin.LockEntry) string {
    		return fmt.Sprintf("%s/%s", entry.Resource, entry.ID)
    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := range 4 {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

        /**
         * Provides messages including edge cases (null and empty) for parameterized testing.
         */
        static Stream<Arguments> messages() {
            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
        @Test
        @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Setup - test with a complex message code that has parameters
            final String errorDetail = "Authentication failed";
            final VaMessenger<FessMessages> complexMessageCode =
                    messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, errorDetail);
            final String message = "SSO processing failed";
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

         * @param domain the domain for authentication
         * @param username the username for authentication
         * @param password the password for authentication
         */
        public JAASAuthenticator(String serviceName, String domain, String username, String password) {
            super(null, domain, username, password);
            this.serviceName = serviceName;
        }
    
        /**
         * Create an authenticator using the given credentials
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		opts.Error = fmt.Sprintf("unable to heal %d missing blocks on drives", b)
    	}
    
    	opts.Tags = map[string]string{
    		"healObject": auditObjectOp{
    			Name: opts.Object,
    			Pool: er.poolIndex + 1,
    			Set:  er.setIndex + 1,
    		}.String(),
    	}
    
    	auditLogInternal(ctx, opts)
    }
    
    func objectErrToDriveState(reason error) string {
    	switch {
    	case reason == nil:
    		return madmin.DriveStateOk
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/CryptoTest.java

            assertEquals(8, encrypted.length);
            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" })
        @DisplayName("Should handle various input sizes for hashing")
        void testHashVariousInputSizes(String input) {
            // Given
            byte[] data = input.getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. tests/customize_field_test.go

    		gorm.Model
    		Name                    string
    		FieldAllowCreate        string `gorm:"<-:create"`
    		FieldAllowUpdate        string `gorm:"<-:update"`
    		FieldAllowSave          string `gorm:"<-"`
    		FieldAllowSave2         string `gorm:"<-:create,update"`
    		FieldAllowSave3         string `gorm:"->:false;<-:create"`
    		FieldReadonly           string `gorm:"->"`
    		FieldIgnore             string `gorm:"-"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         * @return HTML response for the details page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse details(final int crudMode, final String id) {
            verifyCrudMode(crudMode, CrudMode.DETAILS);
            saveToken();
            final List<Map<String, Object>> docList = new ArrayList<>();
            return asHtml(path_AdminKeymatch_AdminKeymatchDetailsJsp).useForm(EditForm.class, op -> {
                op.setup(form -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top