Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 460 for Convert (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

              (Converter<String, Integer>) getDefaultParameterValue(0);
          assertEquals(Integer.valueOf(0), defaultConverter.convert("anything"));
          assertEquals("", defaultConverter.reverse().convert(123));
          assertNull(defaultConverter.convert(null));
          assertNull(defaultConverter.reverse().convert(null));
        }
      }
    
      public void testConverterDefaultValue() {
        new ConverterDefaultValueChecker().check();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from a KeyMatch entity.
         *
         * @param entity the key match entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final KeyMatch entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    		if len(privateKeys) == 0 && !*stdin {
    			reader := bufio.NewReader(os.Stdin)
    			fmt.Print("Enter Decryption Key: ")
    
    			text, _ := reader.ReadString('\n')
    			// convert CRLF to LF
    			*keyHex = strings.ReplaceAll(text, "\n", "")
    			*keyHex = strings.TrimSpace(*keyHex)
    		}
    	}
    
    	var inputs []string
    
    	// Parse parameters
    	switch {
    	case *stdin:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. kotlin-js-store/yarn.lock

      dependencies:
        is-plain-object "^2.0.4"
        kind-of "^6.0.2"
        shallow-clone "^3.0.0"
    
    color-convert@^2.0.1:
      version "2.0.1"
      resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
      integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
      dependencies:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        }
    
        /**
         * Creates an edit body from a duplicate host entity for API responses.
         *
         * @param entity the duplicate host entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final DuplicateHost entity) {
            final EditBody body = new EditBody();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

       * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode
       *     encoded.
       */
      fun getEffectiveTldPlusOne(domain: String): String? {
        // We use UTF-8 in the list so we need to convert to Unicode.
        val unicodeDomain = IDN.toUnicode(domain)
        val domainLabels = splitDomain(unicodeDomain)
    
        val rule = findMatchingRule(domainLabels)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. callbacks/preload.go

    		if err := tx.Where(clause.IN{Column: column, Values: values}).Find(joinResults.Addr().Interface()).Error; err != nil {
    			return err
    		}
    
    		// convert join identity map to relation identity map
    		fieldValues := make([]interface{}, len(joinForeignFields))
    		joinFieldValues := make([]interface{}, len(joinRelForeignFields))
    		for i := 0; i < joinResults.Len(); i++ {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/CharEscaper.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        .collect(Collectors.toList()));
            }
            return result;
        }
    
        /**
         * Converts an Artifact object to a Map representation.
         *
         * @param artifact the artifact to convert
         * @return map containing artifact properties
         */
        public static Map<String, String> beanToMap(final Artifact artifact) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top