- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 68 for Cat (0.01 seconds)
-
schema/relationship_test.go
OwnerType string } type Cat struct { ID int Name string Toy Toy `gorm:"polymorphic:Owner;"` } s, err := schema.Parse(&Cat{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("Failed to parse schema, got error %v", err) } checkEmbeddedRelations(t, s.Relationships.EmbeddedRelations, map[string]EmbeddedRelations{ "Cat": { Relations: map[string]Relation{Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Aug 18 11:44:52 GMT 2025 - 26.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
public void testCopyOfSparse() { Table<Character, Integer, String> table = TreeBasedTable.create(); table.put('x', 2, "foo"); table.put('r', 1, "bar"); table.put('c', 3, "baz"); table.put('b', 7, "cat"); table.put('e', 5, "dog"); table.put('c', 0, "axe"); table.put('e', 3, "tub"); table.put('r', 4, "foo"); table.put('x', 5, "bar"); validateTableCopies(table); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d'))); if (supportsNullValues()) { assertThat(table.put("cat", 2, null)).isNull(); assertTrue(table.contains("cat", 2)); } else { assertThrows(NullPointerException.class, () -> table.put("cat", 2, null)); } assertSize(3); } public void testPutNullReplace() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
table.put("foo", 4, 'a'); table.put("cat", 1, 'b'); table.clear(); populate(table, data); return table; } @Override protected TreeBasedTable<String, Integer, Character> create(@Nullable Object... data) { TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); table.put("foo", 4, 'a'); table.put("cat", 1, 'b'); table.clear(); populate(table, data);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15.3K bytes - Click Count (0) -
src/test/resources/before_script.sh
error_count=0 while true ; do status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health") cat ${temp_json_file} if [[ x"${status}" = x200 ]] ; then break else error_count=$((error_count + 1)) fi if [[ ${error_count} -ge 60 ]] ; then echo "Fess is not available." cat ${temp_log_file} ./fess-*/logs/*.log exit 1 fi sleep 1 done pushd /tmp >/dev/nullCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Nov 15 02:26:18 GMT 2025 - 940 bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java
unfiltered.put("apple", 2); unfiltered.put("banana", 6); unfiltered.put("cat", 3); unfiltered.put("dog", 5); SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH); assertThat(filtered.firstKey()).isEqualTo("banana"); assertThat(filtered.lastKey()).isEqualTo("cat"); } public void testHeadSubTailMap_filteredMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
## 의존성으로서의 클래스 { #classes-as-dependencies_1 } 파이썬 클래스의 인스턴스를 만들 때도 같은 문법을 사용한다는 것을 알 수 있을 겁니다. 예를 들어: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` 이 경우 `fluffy`는 클래스 `Cat`의 인스턴스입니다. 그리고 `fluffy`를 만들기 위해 `Cat`을 "호출"하고 있습니다. 따라서 파이썬 클래스도 **호출 가능(callable)**합니다. 그러면 **FastAPI**에서는 파이썬 클래스를 의존성으로 사용할 수 있습니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 8K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
echo "Please remove the following extra licenses from $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_extra_licenses fi if [[ -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]; then echo "Please include the missing licenses for the following packages in $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_missing_licenses fi
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 28 22:41:17 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d'))); if (supportsNullValues()) { assertThat(table.put("cat", 2, null)).isNull(); assertTrue(table.contains("cat", 2)); } else { assertThrows(NullPointerException.class, () -> table.put("cat", 2, null)); } assertSize(3); } public void testPutNullReplace() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
## 类作为依赖项 { #classes-as-dependencies_1 } 你可能会注意到,要创建一个 Python 类的实例,你可以使用相同的语法。 举个例子: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` 在这个例子中, `fluffy` 是一个 `Cat` 类的实例。 为了创建 `fluffy`,你调用了 `Cat` 。 所以,Python 类也是 **可调用对象**。 因此,在 **FastAPI** 中,你可以使用一个 Python 类作为一个依赖项。 实际上 FastAPI 检查的是它是一个 "可调用对象"(函数,类或其他任何类型)以及定义的参数。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 6.8K bytes - Click Count (0)