Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for Converter (0.11 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

      public static short fromBytes(byte b1, byte b2) {
        return (short) ((b1 << 8) | (b2 & 0xFF));
      }
    
      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import java.io.IOException;
    import java.util.List;
    
    public interface ReadingConverter {
        default int getMaxReadingNum() {
            return 10;
        }
    
        void init() throws IOException;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 952 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class ReadingConverterChainTest extends TestCase {
        public void test_convert() throws Exception {
            /*
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. samples/tlssurvey/build.gradle.kts

    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation(libs.retrofit)
      implementation(libs.converter.moshi)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
      ksp(libs.squareup.moshi.compiler)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 545 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

        return b1 << 24 | (b2 & 0xFF) << 16 | (b3 & 0xFF) << 8 | (b4 & 0xFF);
      }
    
      private static final class IntConverter extends Converter<String, Integer>
          implements Serializable {
        static final Converter<String, Integer> INSTANCE = new IntConverter();
    
        @Override
        protected Integer doForward(String value) {
          return Integer.decode(value);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body-updates.md

    * Criar uma cópia do modelo armazenado, atualizando seus atributos com as atualizações parciais recebidas (usando o parâmetro `update`).
    * Converter o modelo copiado em algo que possa ser armazenado no seu banco de dados (por exemplo, usando o `jsonable_encoder`).
        * Isso é comparável ao uso do método `.model_dump()`, mas garante (e converte) os valores para tipos de dados que possam ser convertidos em JSON, por exemplo, `datetime` para `str`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:16:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

    import com.squareup.moshi.Moshi
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import retrofit2.Retrofit
    import retrofit2.converter.moshi.MoshiConverterFactory
    
    class SslLabsClient(
      callFactory: Call.Factory,
    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     * ListenableFuture} directly.
     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

     */
    package org.codelibs.fess.suggest.index.contents;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     * ListenableFuture} directly.
     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top