- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,433 for Type (0.04 sec)
-
src/main/java/org/codelibs/core/collection/MultiIterator.java
* Set<String> set = ...; * Map<String, Object> map = ...; * for (String element : iterable(list, set, map.keySet())) { * ... * } * </pre> * * @author koichik * @param <E> the element type */ public class MultiIterator<E> implements Iterator<E> { /** Array of {@link Iterator}s. */ protected final Iterator<E>[] iterators; /** Index of the currently iterated {@link Iterator}. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
tests/customize_field_test.go
package tests_test import ( "testing" "time" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestCustomizeColumn(t *testing.T) { type CustomizeColumn struct { ID int64 `gorm:"column:mapped_id; primary_key:yes"` Name string `gorm:"column:mapped_name"` Date *time.Time `gorm:"column:mapped_time"` } DB.Migrator().DropTable(&CustomizeColumn{}) DB.AutoMigrate(&CustomizeColumn{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
cmd/last-minute.go
case sizeLessThan1GiB: return "LESS_THAN_1_GiB" case sizeGreaterThan1GiB: return "GREATER_THAN_1_GiB" default: return "unknown" } } // AccElem holds information for calculating an average value type AccElem struct { Total int64 Size int64 N int64 } // Add a duration to a single element. func (a *AccElem) add(dur time.Duration) { if dur < 0 { dur = 0 } a.Total += int64(dur) a.N++
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// ## Use `Annotated` in the type for the `q` parameter { #use-annotated-in-the-type-for-the-q-parameter } Remember I told you before that `Annotated` can be used to add metadata to your parameters in the [Python Types Intro](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}? Now it's the time to use it with FastAPI. 🚀 We had this type annotation: //// tab | Python 3.10+Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
association.go
if clear { fieldValue = reflect.MakeSlice(oldFieldValue.Type(), 0, oldFieldValue.Cap()) } else { fieldValue = reflect.MakeSlice(oldFieldValue.Type(), oldFieldValue.Len(), oldFieldValue.Cap()) reflect.Copy(fieldValue, oldFieldValue) } appendToFieldValues := func(ev reflect.Value) { if ev.Type().AssignableTo(elemType) { fieldValue = reflect.Append(fieldValue, ev)Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses. Again, you can combine `dataclasses` with standard type annotations. 8. Notice that this *path operation function* uses regular `def` instead of `async def`. As always, in FastAPI you can combine `def` and `async def` as needed.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
*/ @Test void testGetAuthType() { // Arrange: Define the expected authentication type String expectedAuthType = "NTLM"; // Act: Call the method under test String actualAuthType = ntlmRequest.getAuthType(); // Assert: Verify that the returned authentication type is "NTLM" assertEquals(expectedAuthType, actualAuthType, "getAuthType should always return 'NTLM'."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
* registered in the {@link Session}. * * @since 4.0.0 */ @Experimental public interface Event { /** * Gets the type of the event. * * @return the type of the event, never {@code null} */ @Nonnull EventType getType(); /** * Gets the session from which this event originates. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
name: Go Telemetry Proposals description: Changes to the telemetry upload configuration title: "x/telemetry/config: proposal title" labels: ["Telemetry-Proposal"] projects: ["golang/29"] body: - type: textarea attributes: label: Summary description: > What change are you proposing to the upload configuration, and why? For new upload configuration, which new counters will be collected, what
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 07 19:58:26 UTC 2024 - 1.2K bytes - Viewed (0) -
src/archive/zip/register.go
// one goroutine at a time. type Decompressor func(r io.Reader) io.ReadCloser var flateWriterPool sync.Pool func newFlateWriter(w io.Writer) io.WriteCloser { fw, ok := flateWriterPool.Get().(*flate.Writer) if ok { fw.Reset(w) } else { fw, _ = flate.NewWriter(w, 5) } return &pooledFlateWriter{fw: fw} } type pooledFlateWriter struct { mu sync.Mutex // guards Close and Write
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0)