Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 339 for chain (0.02 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            RequestTrace level2 = new RequestTrace("level2", level1, "level2-data");
            RequestTrace level3 = new RequestTrace(level2, "level3-data");
    
            // Verify the chain
            assertNull(root.parent());
            assertEquals(root, level1.parent());
            assertEquals(level1, level2.parent());
            assertEquals(level2, level3.parent());
    
            // Verify context inheritance
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

       */
      abstract fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
      ): Tags
    
      abstract operator fun <T : Any> get(key: KClass<T>): T?
    }
    
    /** An empty tags. This is always the tail of a [LinkedTags] chain. */
    internal object EmptyTags : Tags() {
      override fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
      ): Tags =
        when {
          value != null -> LinkedTags(key, value, this)
          else -> this
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *                of the request. May be null if no specific context is needed.
     * @param parent The parent request trace that led to this request, establishing the chain of nested
     *               operations. May be null for top-level requests.
     * @param data Additional data associated with this request trace, typically containing the actual request
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       * Contains the logical entries, in the range of [0, size()). The high 32 bits of each long is the
       * smeared hash of the element, whereas the low 32 bits is the "next" pointer (pointing to the
       * next entry in the bucket chain). The pointers in [size(), entries.length) are all "null"
       * (UNSET).
       */
      @VisibleForTesting transient long[] entries;
    
      /** The load factor. */
      private transient float loadFactor;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. buildscripts/checkdeps.sh

    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            long weightY = comparator.getProjectWeight(ProjectDependencyGraphStub.Y);
            long weightZ = comparator.getProjectWeight(ProjectDependencyGraphStub.Z);
    
            // Verify the actual chain length calculation
            // Leaf nodes (no downstream dependencies)
            assertEquals(1L, weightX, "Project X should have weight 1 (1 + 0)");
            assertEquals(1L, weightY, "Project Y should have weight 1 (1 + 0)");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              break;
            }
          }
        }
      }
    
      /**
       * Represents a detected cycle in lock acquisition ordering. The exception includes a causal chain
       * of {@code ExampleStackTrace} instances to illustrate the cycle, e.g.
       *
       * <pre>
       * com....PotentialDeadlockException: Potential Deadlock from LockC -&gt; ReadWriteA
       *   at ...
       *   at ...
    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)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  9. internal/config/certs.go

    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    		if pemBlock, current = pem.Decode(current); pemBlock == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              break;
            }
          }
        }
      }
    
      /**
       * Represents a detected cycle in lock acquisition ordering. The exception includes a causal chain
       * of {@code ExampleStackTrace} instances to illustrate the cycle, e.g.
       *
       * <pre>
       * com....PotentialDeadlockException: Potential Deadlock from LockC -&gt; ReadWriteA
       *   at ...
       *   at ...
    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)
Back to Top