Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 3,258 for SET (0.03 seconds)

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

      final Set<E> delegate;
      final Object mutex;
    
      LockHeldAssertingSet(Set<E> delegate, Object mutex) {
        checkNotNull(mutex);
        this.delegate = delegate;
        this.mutex = mutex;
      }
    
      @Override
      protected Set<E> delegate() {
        return delegate;
      }
    
      @Override
      public String toString() {
        assertTrue(Thread.holdsLock(mutex));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
            // Set bufDataStart to 0 initially
            Field bufDataStartField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("bufDataStart");
            bufDataStartField.setAccessible(true);
            bufDataStartField.set(response, 0);
    
            // Prepare buffer with totalParameterCount = 1500
            buffer[bufferIndex] = 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

          return null;
        }
        return set(rowIndex, columnIndex, null);
      }
    
      // TODO(jlevy): Add eraseRow and eraseColumn methods?
    
      @Override
      public int size() {
        return rowList.size() * columnList.size();
      }
    
      /**
       * Returns an unmodifiable set of all row key / column key / value triplets. Changes to the table
       * will update the returned set.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // Serialization only done in GWT.
    public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> {
      private final transient Set<E> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        }
    
        /**
         * Calls the default "set" method on the bean; re-converts the configuration if necessary.
         */
        public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
            // Find the default "set" method
            MethodInfo setterInfo = findCachedMethod(beanType, "", null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            inCompletionOrder(
                ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3, future4, future5));
        future2.set(1L);
        future5.set(2L);
        future1.set(3L);
        future3.set(4L);
        future4.set(5L);
    
        long expectedResult = 1L;
        for (ListenableFuture<Long> future : futures) {
          assertEquals((Long) expectedResult, getDone(future));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            inCompletionOrder(
                ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3, future4, future5));
        future2.set(1L);
        future5.set(2L);
        future1.set(3L);
        future3.set(4L);
        future4.set(5L);
    
        long expectedResult = 1L;
        for (ListenableFuture<Long> future : futures) {
          assertEquals((Long) expectedResult, getDone(future));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/extra-data-types.md

        * Pydantic 也允許用「ISO 8601 time diff encoding」來表示,[詳情見文件](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers)。
    * `frozenset`:
        * 在請求與回應中與 `set` 相同處理:
            * 在請求中,會讀取一個 list,去除重複並轉為 `set`。
            * 在回應中,`set` 會被轉為 `list`。
            * 生成的 schema 會指定 `set` 的值為唯一(使用 JSON Schema 的 `uniqueItems`)。
    * `bytes`:
        * 標準的 Python `bytes`。
        * 在請求與回應中會被當作 `str` 處理。
        * 生成的 schema 會指定其為 `str`,且 "format" 為 `binary`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/extra-data-types.md

        * Pydantic 也允许将其表示为 "ISO 8601 时间差异编码", [查看文档了解更多信息](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers)。
    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
            * 在响应中 `set` 将被转换为 `list` 。
            * 产生的模式将指定那些 `set` 的值是唯一的 (使用 JSON Schema 的 `uniqueItems`)。
    * `bytes`:
        * 标准的 Python `bytes`。
        * 在请求和响应中被当作 `str` 处理。
        * 生成的模式将指定这个 `str` 是 `binary` "格式"。
    * `Decimal`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly.");
            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top