Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 96 for converting (1.8 seconds)

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

        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

         */
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        return getUninterruptibly(future);
      }
    
      /**
       * Returns the result of {@link Future#get()}, converting most exceptions to a new instance of the
       * given checked exception type. This reduces boilerplate for a common use of {@code Future} in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  3. fastapi/routing.py

                        that `password`.
                    * Validation: whatever you return will be serialized with the
                        `response_model`, converting any data as necessary to generate the
                        corresponding JSON. But if the data in the object returned is not
                        valid, that would mean a violation of the contract with the client,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  4. fastapi/applications.py

                        that `password`.
                    * Validation: whatever you return will be serialized with the
                        `response_model`, converting any data as necessary to generate the
                        corresponding JSON. But if the data in the object returned is not
                        valid, that would mean a violation of the contract with the client,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInts.java

     * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as
     * signed versions of methods for which signedness is an issue.
     *
     * <p>In addition, this class provides several static methods for converting an {@code int} to a
     * {@code String} and a {@code String} to an {@code int} that treat the {@code int} as an unsigned
     * number.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  6. doc/go_spec.html

    The conversion always yields a valid value; there is no indication of overflow.
    </li>
    <li>
    When converting a <a href="#Numeric_types">floating-point number</a> to an integer, the fraction is discarded
    (truncation towards zero).
    </li>
    <li>
    When converting an integer or floating-point number to a floating-point type,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  7. docs/recipes.md

            }
          }
        ```
    
    ### Parse a JSON Response With Moshi ([.kt][ParseResponseWithMoshiKotlin], [.java][ParseResponseWithMoshiJava])
    
    [Moshi](https://github.com/square/moshi) is a handy API for converting between JSON and Java objects. Here we're using it to decode a JSON response from a GitHub API.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        protected Map<String, String> convertUrlMap = new LinkedHashMap<>();
    
        /** Fess configuration instance */
        protected FessConfig fessConfig;
    
        /** Data serializer for converting objects to binary format */
        protected DataSerializer dataSerializer;
    
        /** Flag indicating whether to process Google on/off comments */
        protected boolean useGoogleOffOn = true;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatClient.java

        protected ChatSessionManager chatSessionManager;
    
        /** The LLM client manager for language model interactions. */
        @Resource
        protected LlmClientManager llmClientManager;
    
        /** The markdown renderer for converting markdown to safe HTML. */
        @Resource
        protected MarkdownRenderer markdownRenderer;
    
        /**
         * Default constructor.
         */
        public ChatClient() {
            // Default constructor
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  10. RELEASE.md

            slowly converting XYZDataset to DatasetV2 type which is the official
            version going to be used in TF 2.0 and motivated by some compatibility
            issue found, _BigtableXYZDataset (of type DatasetV2) does not implement
            the _as_variant_tensor() of DatasetV1, when moving contrib.bigtable to
            tensorflow_io. Converting into DatasetV2 removes the overheads to
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
Back to Top