Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 600 for Convert (0.1 seconds)

  1. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_test_util.cc

      op = TFE_NewOp(ctx, "AssignVariableOp", status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
      TFE_OpAddInput(op, var_handle, status);
    
      // Convert 'value' to a TF_Tensor then a TFE_TensorHandle.
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> t(
          TF_AllocateTensor(TF_FLOAT, nullptr, 0, sizeof(value)), TF_DeleteTensor);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenThrow(new SmbException("boom"));
    
            IOException ex = assertThrows(IOException.class, stream::available, "Should convert SmbException to IOException");
            assertTrue(ex.getMessage().contains("boom"));
        }
    
        @Test
        @DisplayName("ensureTreeConnected delegates to handle")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

                        return null;
                    });
        }
    
        /**
         * Creates an EditBody from a StemmerOverrideItem entity for API responses.
         *
         * @param entity the StemmerOverrideItem entity to convert
         * @param dictId the dictionary ID
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final StemmerOverrideItem entity, final String dictId) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    }
                }
            }
            return null;
        }
    
        /**
         * Converts the target object to an XContentBuilder for OpenSearch indexing.
         *
         * @param target The object to convert to JSON.
         * @return The XContentBuilder containing the JSON representation of the target.
         * @throws OpenSearchAccessException if the conversion fails.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

      // Percent escapers output upper case hex digits (uri escapers require this).
      private static final char[] upperHexDigits = "0123456789ABCDEF".toCharArray();
    
      /** If true we should convert space to the {@code +} character. */
      private final boolean plusForSpace;
    
      /**
       * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @param i
         *            the number to convert
         */
        public static void appendHex(final StringBuilder buf, final int i) {
            buf.append(Integer.toHexString(i >> 24 & 0xff));
            buf.append(Integer.toHexString(i >> 16 & 0xff));
            buf.append(Integer.toHexString(i >> 8 & 0xff));
            buf.append(Integer.toHexString(i & 0xff));
        }
    
        /**
         * Converts an underscore-separated string to camel case.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        /**
         * Creates an EditBody from a ScheduledJob entity.
         *
         * @param entity the scheduled job entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final ScheduledJob entity) {
            final EditBody body = new EditBody();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // although nothing has changed merge returns true, as the last modified date is equal
            // TODO: improve merge here?
            assertTrue(target.merge(source));
            // never convert from legacy format to v1.1 format
            assertEquals(0, target.getVersioning().getSnapshotVersions().size());
            assertEquals(formatDate(after, false), target.getVersioning().getLastUpdated());
            assertEquals(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        }
    
        /**
         * Creates an edit body from a file authentication entity for API responses.
         *
         * @param entity the file authentication entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final FileAuthentication entity) {
            final EditBody body = new EditBody();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top