Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 758 for APPLY (0.03 seconds)

  1. cmd/object-handlers.go

    			}
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    	defer gr.Close()
    
    	objInfo := gr.ObjInfo
    
    	if !proxy.Proxy { // apply lifecycle rules only for local requests
    		// Automatically remove the object/version if an expiry lifecycle rule can be applied
    		if lc, err := globalLifecycleSys.Get(bucket); err == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  2. cmd/data-scanner.go

    				"x-minio-versions-size":  strconv.FormatInt(cumulativeSize, 10),
    			},
    		})
    	}
    }
    
    type actionsAccountingFn func(oi ObjectInfo, sz, actualSz int64, sizeS *sizeSummary)
    
    // applyActions will apply lifecycle checks on to a scanned item.
    // The resulting size on disk will always be returned.
    // The metadata will be compared to consensus on the object layer before any changes are applied.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top