Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 462 for Cases (0.01 seconds)

  1. internal/hash/checksum_test.go

    		{"ChecksumSHA256-full-object", ChecksumSHA256, true, true}, // SHA256 does not support full object
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Skip invalid cases where SHA1 or SHA256 is used with full object
    			if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj {
    				// Validate that NewChecksumType correctly marks these as invalid
    				alg := tt.checksum.String()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Range.java

       * can't be constructed at all.)
       *
       * <p>Note that certain discrete ranges such as the integer range {@code (3..4)} are <b>not</b>
       * considered empty, even though they contain no actual values. In these cases, it may be helpful
       * to preprocess ranges with {@link #canonical(DiscreteDomain)}.
       */
      public boolean isEmpty() {
        return lowerBound.equals(upperBound);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/asm.go

    			//   BC x,4
    			//   BC x,$5
    			// into
    			//   BC x,CR0LT,...
    			//   BC x,CR0EQ,...
    			//   BC x,CR1LT,...
    			//   BC x,CR1GT,...
    			// The first and second cases demonstrate a symbol name which is
    			// effectively discarded. In these cases, the offset determines
    			// the CR bit.
    			prog.Reg = a[1].Reg
    			if a[1].Type != obj.TYPE_REG {
    				// The CR bit is represented as a constant 0-31. Convert it to a Reg.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 21 15:13:08 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link #add(Object)} or {@link #pollFirstEntry}. This skeleton implementation correctly
       * delegates each of its operations to the appropriate methods of this {@code
       * ForwardingSortedMultiset}.
       *
       * <p>In many cases, you may wish to override {@link #descendingMultiset()} to return an instance
       * of a subclass of {@code StandardDescendingMultiset}.
       *
       * @since 15.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

                return false;
            }
    
            // Handle exact equality first
            if (modelVersion.equals(targetVersion)) {
                return true;
            }
    
            // For now, handle the specific cases we need
            if (MODEL_VERSION_4_1_0.equals(targetVersion)) {
                return isNewerThan410(modelVersion);
            }
    
            // Default to false for unknown comparisons
            return false;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *          ComponentConfigurator implementation to be used.
     *          <br>
     *          <i>NOTE: This will only be used in very special cases, using a highly controlled vocabulary of possible
     *          values. (Elements like this are why it's a good idea to use the descriptor tools.)</i>
     *      </td>
     *   </tr>
     *   <tr>
     *      <td>phase</td>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

                return AbstractNetwork.this.edges().size();
              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
              @SuppressWarnings("unchecked")
              @Override
              public boolean contains(@Nullable Object obj) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/TreeMultimap.java

    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or
     * by supplied comparators. In all cases, this implementation uses {@link Comparable#compareTo} or
     * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of
     * instances.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. internal/lsync/lrwmutex_test.go

    	locked := testDualWriteLock(t, time.Second)
    
    	expected := false
    	if locked != expected {
    		t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use LRWMutex)
    
    // Borrowed from rwmutex_test.go
    func parallelReader(ctx context.Context, m *LRWMutex, clocked, cunlock, cdone chan bool) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top