Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 808 for apply (0.05 seconds)

  1. doc/go_spec.html

    </p>
    
    <pre>
    func apply[S ~[]E, E any](s S, f func(E) E) S { … }
    
    f0 := apply[]                  // illegal: type argument list cannot be empty
    f1 := apply[[]int]             // type argument for S explicitly provided, type argument for E inferred
    f2 := apply[[]string, string]  // both type arguments explicitly provided
    
    var bytes []byte
    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)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        private var index = 0
    
        fun assertLogEqual(expected: String) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++]).isEqualTo(expected)
            return this
          }
    
        fun assertLogMatch(regex: Regex) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  3. cmd/object-api-utils.go

    				// We are not starting at the beginning, so ignore stream identifiers.
    				dopts = append(dopts, s2.ReaderIgnoreStreamIdentifier())
    			}
    			s2Reader := s2.NewReader(inputReader, dopts...)
    			// Apply the skipLen and limit on the decompressed stream.
    			if decOff > 0 {
    				if err = s2Reader.Skip(decOff); err != nil {
    					// Call the cleanup funcs
    					for i := len(cFns) - 1; i >= 0; i-- {
    						cFns[i]()
    					}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
                     * So, here we apply the source addresses hashCode to each name to
                     * make them specific to who resolved the name.
                     */
    
                    srcHashCode = request.addr.hashCode();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      }
    
      private fun OkHttpClient.newCallWithListener(request: Request): Call =
        newCall(request)
          .apply {
            addEventRecorder(eventRecorder)
          }
    
      private fun Call.cloneWithListener(): Call =
        clone()
          .apply {
            addEventRecorder(eventRecorder)
          }
    
      private fun Call.addEventRecorder(eventRecorder: EventRecorder) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
    
            // MatchAllQueryBuilder should apply the boost value
            String json = result.toString().replaceAll("[\\s\\n]", "");
            assertEquals("{\"match_all\":{\"boost\":2.5}}", json);
        }
    
        @Test
        public void test_execute_withNullContext() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          }
          assertFailsWith<IOException> {
            response.trailers()
          }
        }
      }
    
      private fun MockResponse.Builder.body(
        protocol: Protocol,
        body: String,
      ) = apply {
        when (protocol) {
          Protocol.HTTP_1_1 -> chunkedBody(body, 1024)
    
          // Force multiple chunks.
          else -> body(body)
        }
      }
    
      private fun enableProtocol(protocol: Protocol) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return Collections.unmodifiableMap(
            Maps.transformValues(
                map,
                new Function<AtomicLong, Long>() {
                  @Override
                  public Long apply(AtomicLong atomic) {
                    return atomic.get();
                  }
                }));
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/CharMatcher.java

      @Deprecated
      @Override
      // We can't compatibly make this `final` now.
      @InlineMeValidationDisabled(
          "While apply() is not final, the inlining is still safe because all known overrides of"
              + " apply() call matches().")
      public boolean apply(Character character) {
        return matches(character);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.22.md

    ### Server-side Apply graduates to GA
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
Back to Top