Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,750 for result (0.11 sec)

  1. cmd/endpoint-ellipses_test.go

    	testCases := []struct {
    		totalSizes []uint64
    		result     uint64
    	}{
    		{[]uint64{24, 32, 16}, 8},
    		{[]uint64{32, 8, 4}, 4},
    		{[]uint64{8, 8, 8}, 8},
    		{[]uint64{24}, 24},
    	}
    
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			gotGCD := getDivisibleSize(testCase.totalSizes)
    			if testCase.result != gotGCD {
    				t.Errorf("Expected %v, got %v", testCase.result, gotGCD)
    			}
    		})
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            ) {
              result.addLenient(fieldName, value)
            }
          }
    
          for (index in 0 until networkHeaders.size) {
            val fieldName = networkHeaders.name(index)
            if (!isContentSpecificHeader(fieldName) && isEndToEnd(fieldName)) {
              result.addLenient(fieldName, networkHeaders.value(index))
            }
          }
    
          return result.build()
        }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testEmptyExtensions() throws IOException {
                // Empty extension seems to match first entry in mime.map
                String result = mimeMap.getMimeType("");
                assertNotNull(result);
                // With custom default, empty still returns the first match
                String customResult = mimeMap.getMimeType("", "custom/default");
                assertNotNull(customResult);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionErrorHandler.java

     */
    package org.apache.maven.artifact.resolver;
    
    /**
     */
    @Deprecated
    public interface ResolutionErrorHandler {
    
        void throwErrors(ArtifactResolutionRequest request, ArtifactResolutionResult result)
                throws ArtifactResolutionException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

                when(mockAllocInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(42);
    
                // When
                int result = mockAllocInfo.decode(buffer, 10, 50);
    
                // Then
                assertEquals(42, result);
                verify(mockAllocInfo, times(1)).decode(buffer, 10, 50);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

       * @return true if the Bloom filter's bits changed as a result of this operation. If the bits
       *     changed, this is <i>definitely</i> the first time {@code object} has been added to the
       *     filter. If the bits haven't changed, this <i>might</i> be the first time {@code object} has
       *     been added to the filter. Note that {@code put(t)} always returns the <i>opposite</i>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

                            if (hasNext || next != null) {
                                results[index] = false; // Mark as failed if unexpected result
                                return;
                            }
                        }
                        results[index] = true; // Mark as successful
                    });
                    threads[i].start();
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        @Override
        public NavigableSet<E> descendingSet() {
          UnmodifiableNavigableSet<E> result = descendingSet;
          if (result == null) {
            result = descendingSet = new UnmodifiableNavigableSet<>(delegate.descendingSet());
            result.descendingSet = this;
          }
          return result;
        }
    
        @Override
        public Iterator<E> descendingIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testCheckNotNull_simple_success() {
        String result = checkNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testCheckNotNull_simple_failure() {
        assertThrows(NullPointerException.class, () -> checkNotNull(null));
      }
    
      public void testCheckNotNull_simpleMessage_success() {
        String result = checkNotNull(NON_NULL_STRING, IGNORE_ME);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testCheckNotNull_simple_success() {
        String result = checkNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testCheckNotNull_simple_failure() {
        assertThrows(NullPointerException.class, () -> checkNotNull(null));
      }
    
      public void testCheckNotNull_simpleMessage_success() {
        String result = checkNotNull(NON_NULL_STRING, IGNORE_ME);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top