- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,097 for asdict (0.08 sec)
-
guava-tests/test/com/google/common/hash/HashTestUtils.java
int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2); // test whether the hash values have different output bits
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.base.Function; import com.google.common.collect.testing.SafeTreeSet; import com.google.common.collect.testing.SetTestSuiteBuilder; import com.google.common.collect.testing.TestStringSetGenerator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-testlib/pom.xml
</parent> <artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-testlib/pom.xml
</parent> <artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestInputStream.java
private final ImmutableSet<TestOption> options; private boolean closed; public TestInputStream(InputStream in, TestOption... options) throws IOException { this(in, Arrays.asList(options)); } public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { super(checkNotNull(in)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
builder.getMainModule().set("jdk.httpserver"); builder.setStandardOutput(System.out); builder.setErrorOutput(System.err); builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath())); registry.start(getPath(), DeploymentRegistry.ChangeBehavior.RESTART, JavaApplicationHandle.class, builder); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 18 12:38:47 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertEquals(map.size(), entrySetToArray1.length); assertTrue(asList(entrySetToArray1).containsAll(entrySet)); Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2]; entrySetToArray2[map.size()] = mapEntry("foo", 1); assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2)); assertNull(entrySetToArray2[map.size()]); assertTrue(asList(entrySetToArray2).containsAll(entrySet));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
fastapi/utils.py
return operation_id def deep_dict_update(main_dict: Dict[Any, Any], update_dict: Dict[Any, Any]) -> None: for key, value in update_dict.items(): if ( key in main_dict and isinstance(main_dict[key], dict) and isinstance(value, dict) ): deep_dict_update(main_dict[key], value) elif (
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 31 23:46:03 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
# JSON Compatible Encoder Існують випадки, коли вам може знадобитися перетворити тип даних (наприклад, модель Pydantic) в щось сумісне з JSON (наприклад, `dict`, `list`, і т. д.). Наприклад, якщо вам потрібно зберегти це в базі даних. Для цього, **FastAPI** надає `jsonable_encoder()` функцію. ## Використання `jsonable_encoder` Давайте уявимо, що у вас є база даних `fake_db`, яка приймає лише дані, сумісні з JSON.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
import org.codelibs.fess.app.web.CrudMode; import org.codelibs.fess.app.web.admin.dict.synonym.UploadForm; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.synonym.SynonymFile; import org.codelibs.fess.dict.synonym.SynonymItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0)