Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,682 for SET (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        arraycopy(elements, 0, entries, 0, elements.length);
        return createFromEntries(entries);
      }
    
      public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries);
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial006_py39.py

    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        images: Union[list[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 519 bytes
    - Viewed (0)
  3. docs_src/body_nested_models/tutorial007_py310.py

    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
        price: float
        items: list[Item]
    
    
    @app.post("/offers/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 520 bytes
    - Viewed (0)
  4. internal/stmt_store/stmt_store.go

    	//   bool: Indicates whether the corresponding Stmt object was successfully found.
    	Get(key string) (*Stmt, bool)
    
    	// Set stores the given Stmt object in the store and associates it with the specified key.
    	// Parameters:
    	//   key: The key used to associate the Stmt object.
    	//   value: The Stmt object to be stored.
    	Set(key string, value *Stmt)
    
    	// Delete removes the Stmt object corresponding to the specified key from the store.
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. internal/hash/crc.go

    			crc1n = gf2MatrixTimes(even, crc1n)
    		}
    		len2 >>= 1
    
    		// if no more bits set, then done
    		if len2 == 0 {
    			break
    		}
    
    		// another iteration of the loop with odd and even swapped
    		gf2MatrixSquare(odd, even)
    		if len2&1 != 0 {
    			crc1n = gf2MatrixTimes(odd, crc1n)
    		}
    		len2 >>= 1
    
    		// if no more bits set, then done
    		if len2 == 0 {
    			break
    		}
    	}
    
    	// return combined crc
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

            assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked(new Object()));
        assertThat(expected).hasCauseThat().isEqualTo(cause);
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertThat(cache.getUnchecked(new Object())).isSameInstanceAs(newValue);
      }
    
      public void testGetUnchecked_unchecked() {
        RuntimeException cause = new RuntimeException();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
            * 在响应中 `set` 将被转换为 `list` 。
            * 产生的模式将指定那些 `set` 的值是唯一的 (使用 JSON 模式的 `uniqueItems`)。
    * `bytes`:
        * 标准的 Python `bytes`。
        * 在请求和响应中被当作 `str` 处理。
        * 生成的模式将指定这个 `str` 是 `binary` "格式"。
    * `Decimal`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubsetSuite(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                    }
                }
                newArtifacts.add(artifact);
            }
            return newArtifacts;
        }
    
        @SuppressWarnings("unchecked")
        private Set<String> needsInlining(RepositorySystemSession session) {
            return (Set<String>) session.getData()
                    .computeIfAbsent(
                            PomInlinerTransformer.class.getName() + ".needsInlining", ConcurrentHashMap::newKeySet);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
        }
    
        @Override
        public Map<R, V> column(C columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.column(columnKey);
        }
    
        @Override
        public Set<C> columnKeySet() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top