Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4661 - 4670 of 5,397 for returns (0.05 sec)

  1. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        result.zstdCompress().buffer().use {
          it.write(this@zstdCompress)
        }
        return result.readByteString()
      }
    
      private fun ByteString.gzipCompress(): ByteString {
        val result = Buffer()
        (result as Sink).gzip().buffer().use {
          it.write(this@gzipCompress)
        }
        return result.readByteString()
      }
    
      private fun response(
        url: String,
        body: ByteString,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/util/StringUtilTest.java

            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    
        @Test
        @DisplayName("Should return empty string for zero elements")
        void testJoinWithNoElements() {
            String result = StringUtil.join(",");
            assertEquals("", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("word", item1.getInputValue());
    
            StopwordsItem item2 = new StopwordsItem(2, "");
            assertEquals("", item2.getInputValue());
    
            // Test with null input - should return empty string
            StopwordsItem item3 = new StopwordsItem(3, null);
            assertEquals("", item3.getInputValue());
        }
    
        public void test_isUpdated() {
            // Test isUpdated method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. clause/limit.go

    package clause
    
    // Limit limit clause
    type Limit struct {
    	Limit  *int
    	Offset int
    }
    
    // Name where clause name
    func (limit Limit) Name() string {
    	return "LIMIT"
    }
    
    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            super.setUp();
            ComponentUtil.register(new DataSerializer(), "dataSerializer");
        }
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Unsupported encoding.", e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * 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

     * 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. docs/ru/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Готовим бургеры по специальному асинхронному рецепту
        return burgers
    ```
    
    ...вместо `def`:
    
    ```Python hl_lines="2"
    # Это не асинхронный код
    def get_sequential_burgers(number: int):
        # Готовим бургеры последовательно по шагам
        return burgers
    ```
    
    Объявление `async def` указывает интерпретатору, что внутри этой функции
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/IntMathTest.java

      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
      private void assertOperationEquals(int a, int b, String op, int expected, int actual) {
        if (expected != actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

        if (resolvedCharset == null) {
          charset = Charsets.UTF_8
          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
      }
      return charset to finalContentType
    }
    
    internal fun MediaType?.charsetOrUtf8(): Charset = this?.charset() ?: Charsets.UTF_8
    
    internal val Response.connection: RealConnection
      get() = this.exchange!!.connection
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top