Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for unescaped (0.05 sec)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            monitorTarget.append(buf, "dateKey", supplier);
            String result = buf.toString();
            assertTrue(result.startsWith("\"dateKey\":\""));
            // Check that the date was converted to string and properly escaped
            assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000"));
        }
    
        // Test appendTimestamp method
        public void test_appendTimestamp() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    	// test delete
    	if err := tx.Model(&item).Association("Contents").Unscoped().Delete(&contents[0]); err != nil {
    		t.Errorf("failed to delete Contents, got error: %v", err)
    	}
    	if count := tx.Model(&item).Association("Contents").Count(); count != 2 {
    		t.Errorf("expected %d contents, got %d", 2, count)
    	}
    
    	// test clear
    	if err := tx.Model(&item).Association("Contents").Unscoped().Clear(); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

      private static String escapeAndQuote(String value) {
        StringBuilder escaped = new StringBuilder(value.length() + 16).append('"');
        for (int i = 0; i < value.length(); i++) {
          char ch = value.charAt(i);
          if (ch == '\r' || ch == '\\' || ch == '"') {
            escaped.append('\\');
          }
          escaped.append(ch);
        }
        return escaped.append('"').toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         * @param callbackName The callback name.
         * @return The escaped callback name.
         */
        protected String escapeCallbackName(final String callbackName) {
            return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY);
        }
    
        /**
         * Escapes a JSON object.
         * @param obj The object to escape.
         * @return The escaped object.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  5. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

    public final class ArrayBasedEscaperMap {
      /**
       * Returns a new ArrayBasedEscaperMap for creating ArrayBasedCharEscaper or
       * ArrayBasedUnicodeEscaper instances.
       *
       * @param replacements a map of characters to their escaped representations
       */
      public static ArrayBasedEscaperMap create(Map<Character, String> replacements) {
        return new ArrayBasedEscaperMap(createReplacementArray(replacements));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         */
        public NtlmPasswordAuthentication(String userInfo) {
            domain = username = password = null;
    
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (final UnsupportedEncodingException uee) {}
                int i, u, end;
                char c;
    
                end = userInfo.length();
                for (i = 0, u = 0; i < end; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            String dom = null, user = null, pass = null;
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (UnsupportedEncodingException uee) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
                int end = userInfo.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), true));
    
            // Test specific characters that should be escaped
            assertEquals("test\\/query", getQuery("test/query", new String[0], Collections.emptyMap(), Collections.emptyMap(), true));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. association.go

    			db.Statement.ReflectValue = db.Statement.ReflectValue.Elem()
    		}
    	} else {
    		association.Error = err
    	}
    
    	return association
    }
    
    func (association *Association) Unscoped() *Association {
    	return &Association{
    		DB:           association.DB,
    		Relationship: association.Relationship,
    		Error:        association.Error,
    		Unscope:      true,
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. tests/hooks_test.go

    	_DB.AutoMigrate(&Product6{}, &ProductItem2{})
    
    	p := Product6{
    		Name: "unique_code",
    		Item: &ProductItem2{},
    	}
    	_DB.Model(&Product6{}).Create(&p)
    
    	if err := _DB.Unscoped().Delete(&p).Error; err != nil {
    		t.Fatalf("unscoped did not propagate")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top