Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 263 for prev (0.02 seconds)

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

     * then Lock B, while another thread acquires Lock B, and then Lock A:
     *
     * <pre>
     * Thread1: acquire(LockA) --X acquire(LockB)
     * Thread2: acquire(LockB) --X acquire(LockA)
     * </pre>
     *
     * <p>Neither thread will progress because each is waiting for the other. In more complex
     * applications, cycles can arise from interactions among more than 2 locks:
     *
     * <pre>
     * Thread1: acquire(LockA) --X acquire(LockB)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIsNull_serialization() {
        Predicate<String> pre = Predicates.isNull();
        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * configured based on runtime conditions.
     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
     *     public static Configuration provideConfiguration() {
     *         return Configuration.load();
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. src/archive/tar/common.go

    	dst := src[:0]
    	var pre sparseEntry
    	for _, cur := range src {
    		if cur.Length == 0 {
    			continue // Skip empty fragments
    		}
    		pre.Length = cur.Offset - pre.Offset
    		if pre.Length > 0 {
    			dst = append(dst, pre) // Only add non-empty fragments
    		}
    		pre.Offset = cur.endOffset()
    	}
    	pre.Length = size - pre.Offset // Possibly the only empty fragment
    	return append(dst, pre)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPackagingProvider implements PackagingProvider {
     *     public Collection&lt;Packaging&gt; provides() {
     *         return Arrays.asList(
     *             packaging("docker-image"),
     *             packaging("flatpak")
     *         );
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Packaging
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java

     * throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Collections.singleton(language("kotlin"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Language
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. docs/en/docs/release-notes.md

    * ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#13634](https://github.com/fastapi/fastapi/pull/13634) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
    * ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#13619](https://github.com/fastapi/fastapi/pull/13619) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waitersField;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
Back to Top