Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,015 for Prevent (0.09 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains
       * one or more such elements. Returns {@code true} if this queue contained the specified element
       * (or equivalently, if this queue changed as a result of the call).
       *
       * @param o element to be removed from this queue, if present
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @Override
              protected void finalize() {
                finalizerRan.countDown();
              }
            });
      }
    
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. cmd/bucket-lifecycle-handlers.go

    			return
    		}
    		for _, rl := range lcCfg.Rules {
    			updRule, ok := updatedRules[rl.ID]
    			// original rule had expiry that is no longer in the new config,
    			// or rule is present but missing expiration flags
    			if (!rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull()) &&
    				(!ok || (updRule.Expiration.IsNull() && updRule.NoncurrentVersionExpiration.IsNull())) {
    				expiryRuleRemoved = true
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. internal/config/lambda/target/webhook.go

    func (target *WebhookTarget) Stat() event.TargetStat {
    	return event.TargetStat{
    		ID:             target.id,
    		ActiveRequests: atomic.LoadInt64(&target.activeRequests),
    		TotalRequests:  atomic.LoadInt64(&target.totalRequests),
    		FailedRequests: atomic.LoadInt64(&target.failedRequests),
    	}
    }
    
    // Send - sends an event to the webhook.
    func (target *WebhookTarget) Send(eventData event.Event) (resp *http.Response, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 08 21:39:49 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  5. src/bytes/bytes.go

    	return IndexFunc(b, f) >= 0
    }
    
    // IndexByte returns the index of the first instance of c in b, or -1 if c is not present in b.
    func IndexByte(b []byte, c byte) int {
    	return bytealg.IndexByte(b, c)
    }
    
    // LastIndex returns the index of the last instance of sep in s, or -1 if sep is not present in s.
    func LastIndex(s, sep []byte) int {
    	n := len(sep)
    	switch {
    	case n == 0:
    		return len(s)
    	case n == 1:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         * modifications, or we'll modify the already-built ImmutableMultiset.
         */
        boolean buildInvoked = false;
    
        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
         * insertion order property of ObjectCountHashMap. In that event, we need to convert to a
         * ObjectCountLinkedHashMap, but we need to know we did that so we can convert back.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

                    break;
                }
            }
            return text.substring(0, pos + 1);
        }
    
        /**
         * Removes the suffix from the string if it is present.
         *
         * @param text
         *            The text
         * @param suffix
         *            The suffix to remove
         * @return The resulting string
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    
        @TempDir
        lateinit var testKitDir: File
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * endpoints are unordered; it simply returns false. This is for consistency with the behavior of
       * {@link Collection#contains(Object)} (which does not generally throw if the object cannot be
       * present in the collection), and the desire to have this method's behavior be compatible with
       * {@code edges().contains(endpoints)}.
       *
       * @since 27.1
       */
      boolean hasEdgeConnecting(EndpointPair<N> endpoints);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top