Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for safely (0.1 sec)

  1. guava/src/com/google/common/util/concurrent/CollectionFuture.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/site/apt/logging.apt

    ~~ TODO document META-INF/maven/slf4j-configuration.properties
    
    * Getting Logger Instance
    
     Starting with Maven 3.1.0, SLF4J Logger can be used directly. This technique can be used safely in Maven core
     components or in plugins/component not requiring compatibility with previous Maven versions.
    
    +-----+
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class MyClass
    {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
       * call cancel() and be unable to cancel the delegate.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return True if the <code>Mojo</code> is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public boolean isThreadSafe() {
            return threadSafe;
        }
    
        /**
         * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public void setThreadSafe(boolean threadSafe) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

            toArrayCalled = true;
            return super.toArray(a);
          }
        }
    
        // Test that toArray() is used to make a defensive copy in copyOf(), so concurrently modified
        // synchronized collections can be safely copied.
        TestArrayList<String> toCopy = new TestArrayList<>();
        ImmutableSortedMultiset<String> unused =
            ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy);
        assertTrue(toCopy.toArrayCalled);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

        }
        return false;
      }
    
      /**
       * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
       * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise
       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    	var msgOutputFormat string
    	var fromCompatibilityVersion string
    	// cmd represents the upgradeCheck command
    	cmd := &cobra.Command{
    		Use:   "precheck",
    		Short: "Check whether Istio can safely be installed or upgraded",
    		Long:  `precheck inspects a Kubernetes cluster for Istio install and upgrade requirements.`,
    		Example: `  # Verify that Istio can be installed or upgraded
      istioctl x precheck
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

        }
        return false;
      }
    
      /**
       * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
       * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise
       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start
     * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Streams.java

       * stream whose elements are non-null. However, the method goes out of its way to still handle
       * nulls in the stream. This means that the method can safely be used with a stream that contains
       * nulls as long as the *last* element is *not* null.
       *
       * (To "go out of its way," the method tracks a `set` bit so that it can distinguish "the final
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top