Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 4,367 for same (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> ints = Lists.newArrayList(5, 3, 0, 9);
        assertEquals(9, (int) numberOrdering.max(ints.iterator()));
        assertEquals(0, (int) numberOrdering.min(ints.iterator()));
    
        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
        assertThat(numberOrdering.max(ints.iterator())).isSameInstanceAs(a);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> ints = Lists.newArrayList(5, 3, 0, 9);
        assertEquals(9, (int) numberOrdering.max(ints.iterator()));
        assertEquals(0, (int) numberOrdering.min(ints.iterator()));
    
        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
        assertThat(numberOrdering.max(ints.iterator())).isSameInstanceAs(a);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Queues.java

       *
       * <p><b>Note:</b> If the specified iterable is a {@code SortedSet} or a {@code PriorityQueue},
       * this priority queue will be ordered according to the same ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<WebConfig> selectPage(CBCall<WebConfigCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<WebConfig>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<WebConfigCB> cbLambda, EntityRowHandler<WebConfig> entityLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            assertEquals(Integer.valueOf(2), executionOrder.get(1));
            assertEquals(Integer.valueOf(1), executionOrder.get(2));
        }
    
        // Test addScoreBooster with same priorities
        @Test
        public void test_addScoreBooster_samePriority() {
            TestScoreBooster booster1 = new TestScoreBooster(100L);
            booster1.setPriority(1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. cmd/encryption-v1.go

    		return nil, crypto.ErrInvalidCustomerKey
    	}
    	return reader, nil
    }
    
    // DecryptBlocksRequestR - same as DecryptBlocksRequest but with a
    // reader
    func DecryptBlocksRequestR(inputReader io.Reader, h http.Header, seqNumber uint32, partStart int, oi ObjectInfo, copySource bool) (io.Reader, error) {
    	bucket, object := oi.Bucket, oi.Name
    	// Single part case
    	if !oi.isMultipart() {
    		var reader io.Reader
    		var err error
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @DisplayName("Should be equal for same values")
            void testEquals() {
                assertEquals(data1, data2);
                assertEquals(data2, data1);
            }
    
            @Test
            @DisplayName("Should be equal to itself")
            void testEqualsSelf() {
                assertEquals(data1, data1);
            }
    
            @Test
            @DisplayName("Should have same hashCode for equal objects")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
    
        if (map instanceof ImmutableSortedMap) {
          // TODO: Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
          Comparator<?> comparator2 = kvMap.comparator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should create response with same configuration")
            void testCreateResponseConfiguration() {
                Smb2WriteResponse response = request.createResponse(mockContext, request);
                assertNotNull(response);
                // Response should be created with the same config from context
                verify(mockContext, times(1)).getConfig();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .containsExactly(0, 1, 3, 6, 10, 15, 21)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableIntArray.copyOf(new int[0])).isSameInstanceAs(ImmutableIntArray.of());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
Back to Top