Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for PLAIN (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

    @SuppressWarnings({
      // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
      "JUnit4ClassUsedInJUnit3",
      // We use ::iterator so that we test passing a plain Iterable, not a Collection.
      "UnnecessaryMethodReference",
    })
    public class MultimapPutIterableTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

        assertThat(call.isCanceled()).isFalse()
      }
    
      private fun sleepingRequestBody(sleepMillis: Int): RequestBody =
        object : RequestBody() {
          override fun contentType(): MediaType? = "text/plain".toMediaTypeOrNull()
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            try {
              sink.writeUtf8("abc")
              sink.flush()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Updates both the authentication manager and the database with the new encrypted password.
         *
         * @param username the username of the user
         * @param password the new password in plain text
         * @throws FessUserNotFoundException if the user is not found
         */
        public void changePassword(final String username, final String password) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      @Test fun binarySearchEmptyRange() {
        assertEquals(-1, binarySearch(0, 0) { error("unexpected call") })
      }
    
      /** Confirm the compact table has the exact same behavior as the plain table. */
      @Test fun comparePlainAndCompactTables() {
        val buffer = Buffer()
        for (codePoint in 0..0x10ffff) {
          val allowedByTable = table.map(codePoint, buffer)
          val tableMappedTo = buffer.readUtf8()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse(body = "a"))
        server.enqueue(MockResponse(body = "b"))
        val request =
          Request(
            url = server.url("/"),
            body = "request body".toRequestBody("text/plain".toMediaType()),
          )
        assertConnectionReused(request, request)
      }
    
      @Test
      fun connectionsAreReusedWithHttp2() {
        enableHttp2()
        server.enqueue(MockResponse(body = "a"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * can't get by with the standard implementations, prefer to derive a new {@code Future} instance
     * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}.
     *
     * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
     * the return type. For this case, we provide a more expensive workaround in {@code
     * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * can't get by with the standard implementations, prefer to derive a new {@code Future} instance
     * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}.
     *
     * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
     * the return type. For this case, we provide a more expensive workaround in {@code
     * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
         * In particular, in a digest, the default `Content-Type` value for a body part is changed from
         * "text/plain" to "message/rfc822".
         */
        @JvmField
        val DIGEST = "multipart/digest".toMediaType()
    
        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        body.byteStream().close()
        assertThat(closed.get()).isTrue()
      }
    
      @Test
      fun unicodeTextWithUnsupportedEncoding() {
        val text = "eile oli oliiviõli"
        val body = text.toResponseBody("text/plain; charset=unknown".toMediaType())
        assertThat(body.string()).isEqualTo(text)
      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top