Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 497 for Apply (3.38 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        }
    
        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
            var expiresAt = expiresAt
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

            @Override
            public Optional<?> apply(@Nullable Object obj) {
              return Optional.fromNullable(obj);
            }
          };
    
      private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE =
          new Function<Optional<?>, @Nullable Object>() {
            @Override
            public @Nullable Object apply(Optional<?> optional) {
              return optional.orNull();
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/UrlEscapers.java

       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
       * <p>When escaping a String, the following rules apply:
       *
       * <ul>
       *   <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain
       *       the same.
       *   <li>The special characters ".", "-", "*", and "_" remain the same.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

       */
      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          apply {
            this.pushObserver = pushObserver
          }
    
        fun pingIntervalMillis(pingIntervalMillis: Int) =
          apply {
            this.pingIntervalMillis = pingIntervalMillis
          }
    
        fun flowControlListener(flowControlListener: FlowControlListener) =
          apply {
            this.flowControlListener = flowControlListener
          }
    
        fun build(): Http2Connection = Http2Connection(this)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. gorm.go

    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    			defer func(opt Option) {
    				if skipAfterInitialize {
    					return
    				}
    				if errr := opt.AfterInitialize(db); errr != nil {
    					err = errr
    				}
    			}(opt)
    		}
    	}
    
    	if d, ok := dialector.(interface{ Apply(*Config) error }); ok {
    		if err = d.Apply(config); err != nil {
    			return
    		}
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
        // --- Mockito-based interaction tests ---
    
        @Test
        @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

      private fun allAscii(encoding: Encoding) =
        apply {
          for (i in 0..127) {
            encodings[i] = encoding
          }
        }
    
      fun override(
        encoding: Encoding,
        vararg codePoints: Int,
      ) = apply {
        for (codePoint in codePoints) {
          encodings[codePoint] = encoding
        }
      }
    
      fun nonPrintableAscii(encoding: Encoding) =
        apply {
          encodings[ 0x0] = encoding // Null character
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                // * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date
                // * if autoapply is enabled, and an end date was chosen, apply the selection
                // * if single date picker mode, and time picker isn't enabled, apply the selection immediately
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top