Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for lazy (0.02 seconds)

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ## Decision
    
    ### Types of properties that should not use lazy types
    
    The guidelines below do not apply to all properties. There are cases where the lazy types should not be used:
    
    #### Non-calculated values
    
    These are inappropriate uses of lazy types:
    
    ```groovy
    class Example {
        Property<String> getSomeProperty()
    
        Example() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              public String getFormat() {
                return "RAW";
              }
            };
        assertThat(
                hmacMd5(customKey)
                    .hashString("The quick brown fox jumps over the lazy dog", UTF_8)
                    .toString())
            .isEqualTo("ad262969c53bc16032f160081c4a07a0");
      }
    
      public void testBadKey_emptyKey() throws Exception {
        SecretKey badKey =
            new SecretKey() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  3. src/archive/tar/testdata/hdr-only.tar

    fifo file The quick brown fox jumped over the lazy dog! hardlink null sda symlink badlink fifo The quick brown fox jumped over the lazy dog! hardlink sda symli badlink...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 01 20:16:26 GMT 2015
    - 10K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

           */
          private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {
            val heldCertificate =
              HeldCertificate
                .Builder()
                .commonName("localhost")
                .addSubjectAlternativeName("localhost")
                .rsa2048()
                .build()
            return@lazy HandshakeCertificates
              .Builder()
              .heldCertificate(heldCertificate)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        // keeping parsed request parameters, normal texts or uploaded files
        // keys are requested parameter names (treated as field name here)
        protected Map<String, Object> elementsAll; // lazy-loaded, then after not null
        protected Map<String, MultipartFormFile> elementsFile; // me too
        protected Map<String, String[]> elementsText; // me too
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        fun taskPathToProjectPath(taskPath: String): String {
            return taskPath.substringBeforeLast(":").ifEmpty { ":" }
        }
    
        private class ReportLocation(provider: FileLocationProvider) {
            val file: File by lazy(LazyThreadSafetyMode.NONE) {
                provider.get().asFile
            }
    
            // Some providers for the report files (Japicmp) are not memoizable internally and require project services to be resolved.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            assertNotNull(result);
            assertEquals(0, result.getFirst().length);
            assertEquals(0, result.getSecond().length);
        }
    
        // ========== Tests for lazy loading implementation ==========
    
        /**
         * Test that processDirectMemberOf method exists with correct signature.
         */
        @Test
        public void test_processDirectMemberOf_methodExists() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/MoreObjects.java

       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@link Objects#requireNonNullElse} instead. For lazy evaluation of
       * the fallback, use {@link Objects#requireNonNullElseGet Objects.requireNonNullElseGet(first, ()
       * -> second)}}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@link Objects#requireNonNullElse} instead. For lazy evaluation of
       * the fallback, use {@link Objects#requireNonNullElseGet Objects.requireNonNullElseGet(first, ()
       * -> second)}}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                test.getExtensions().add("errorReportingTestListener", listener);
                test.addTestOutputListener(listener);
                test.addTestListener(listener);
    
                /*
                 * We use lazy-evaluated strings in order to configure system properties whose value will not be known until
                 * execution time (e.g. cluster port numbers). Adding these via the normal DSL doesn't work as these get treated
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
Back to Top