- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,136 for ndarray (0.12 sec)
-
docs/ko/docs/tutorial/body-nested-models.md
{!../../docs_src/body_nested_models/tutorial007.py!} ``` /// info | "정보" `Offer`가 선택사항 `Image` 리스트를 차례로 갖는 `Item` 리스트를 어떻게 가지고 있는지 주목하세요 /// ## 순수 리스트의 본문 예상되는 JSON 본문의 최상위 값이 JSON `array`(파이썬 `list`)면, Pydantic 모델에서와 마찬가지로 함수의 매개변수에서 타입을 선언할 수 있습니다: ```Python images: List[Image] ``` 이를 아래처럼: ```Python hl_lines="15" {!../../docs_src/body_nested_models/tutorial008.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
//// /// info Notice how `Offer` has a list of `Item`s, which in turn have an optional list of `Image`s /// ## Bodies of pure lists If the top level value of the JSON body you expect is a JSON `array` (a Python `list`), you can declare the type in the parameter of the function, the same as in Pydantic models: ```Python images: List[Image] ``` or in Python 3.9 and above: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} if _, ok := claims[policy.SessionPolicyName]; ok { owner = false } return cred, owner, ErrNone } // sumHMAC calculate hmac between two input byte array. func sumHMAC(key []byte, data []byte) []byte { hash := hmac.New(sha256.New, key) hash.Write(data) return hash.Sum(nil) } // extractSignedHeaders extract signed headers from Authorization header
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/grid/msg_gen.go
if err != nil { err = msgp.WrapError(err, "Payload") return } return } // EncodeMsg implements msgp.Encodable func (z *message) EncodeMsg(en *msgp.Writer) (err error) { // array header, size 7 err = en.Append(0x97) if err != nil { return } err = en.WriteUint64(z.MuxID) if err != nil { err = msgp.WrapError(err, "MuxID") return } err = en.WriteUint32(z.Seq)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
valueOffset = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); } catch (Exception e) { throw new Error(e); } } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this * class, we use a suboptimal int[] representation to avoid introducing a new type that can impede * class-unloading when ThreadLocals are not removed. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
checkNotNull(sequence); return ""; } @Override public String replaceFrom(CharSequence sequence, char replacement) { char[] array = new char[sequence.length()]; Arrays.fill(array, replacement); return new String(array); } @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 53.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator())); assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0]))); } @J2ktIncompatible @GwtIncompatible // suite public static class BuiltTests extends TestCase { public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
final FileChannel channel = is.getChannel(); final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel)); ChannelUtil.read(channel, buffer); return buffer.array(); } finally { CloseableUtil.close(is); } } /** * デフォルトエンコーディングでファイルからテキストを読み込みます。 * * @param path
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
} // don't try to remove the set if it's empty; that can't be done safely without a lock // anyway, if the set is empty it'll just be wrapping an array of length 0 } } @VisibleForTesting Set<Subscriber> getSubscribersForTesting(Class<?> eventType) { return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
cmd/apierrorcode_string.go
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 21.4K bytes - Viewed (0)