Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1831 - 1840 of 2,334 for setD (0.02 seconds)

  1. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multiset.java

      // Views
    
      /**
       * Returns the set of distinct elements contained in this multiset. The element set is backed by
       * the same data as the multiset, so any change to either is immediately reflected in the other.
       * The order of the elements in the element set is unspecified.
       *
       * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                      } else {
                        cache.refresh(key);
                        value = cache.get(key);
                      }
                      result.set(index, value);
                    } catch (Throwable t) {
                      result.set(index, t);
                    }
                    gettersComplete.countDown();
                  });
          thread.start();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Double> list = Arrays.asList(0.0, 1.0, 3.0);
        ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(iterable(list));
        list.set(2, 2.0);
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_collection_empty() {
        Iterable<Double> iterable = Collections.emptySet();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. src/main/config/openapi/openapi-user.yaml

            '500':
              $ref: '#/components/responses/InternalServerError'
    
      /documents/{docId}/favorite:
        post:
          tags:
            - favorite
          summary: Set a favorite mark
          description: Set a favorite mark to the document
          operationId: setFavorite
          parameters:
            - name: docId
              in: path
              description: Document ID to be favorited
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Strings.java

       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Initially should be false
            assertFalse(request.isResolveInDfs());
    
            // Set to true
            request.setResolveInDfs(true);
            assertTrue(request.isResolveInDfs());
    
            // Set to false
            request.setResolveInDfs(false);
            assertFalse(request.isResolveInDfs());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

         */
        @Test
        public void testOnConnectListenerInvoked() {
            final AtomicBoolean listenerCalled = new AtomicBoolean(false);
            final OnConnectListener listener = () -> listenerCalled.set(true);
    
            fesenClient.addOnConnectListener(listener);
    
            // Manually invoke listeners as if connect() succeeded
            fesenClient.onConnectListenerList.forEach(l -> {
                try {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should return initial credits from getCredit")
        void testGetInitialCredits() throws Exception {
            // Given - set credit using reflection
            Field creditField = ServerMessageBlock2.class.getDeclaredField("credit");
            creditField.setAccessible(true);
            creditField.set(response, 128);
    
            // When
            int credits = response.getInitialCredits();
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(adapter.toDer(sequenceOf)).isEqualTo(bytes)
      }
    
      @Test fun `point with only x set`() {
        val bytes = "3003800109".decodeHex()
        val point = Point(9L, null)
        assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point)
        assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes)
      }
    
      @Test fun `point with only y set`() {
        val bytes = "3003810109".decodeHex()
        val point = Point(null, 9L)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 31.7K bytes
    - Click Count (0)
Back to Top