- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 716 for _strict (0.64 sec)
-
docs/iam/access-manager-plugin.go
} func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "error": fmt.Sprintf("%v", err), }) } type Result struct { Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
logger/sql_test.go
) type JSON json.RawMessage func (j JSON) Value() (driver.Value, error) { if len(j) == 0 { return nil, nil } return json.RawMessage(j).MarshalJSON() } type ExampleStruct struct { Name string Val string } func (s ExampleStruct) Value() (driver.Value, error) { return json.Marshal(s) } func format(v []byte, escaper string) string {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
same. We’ve chosen Kotlin because it gives us powerful new capabilities while integrating closely with Java. We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even keeping the package name the same: `okhttp3`! There are three kinds of compatibility we’re tracking:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
} } } @BeforeEach void setup() throws MalformedURLException, CIFSException { // Common happy-path defaults // Use lenient() to avoid strict stubbing issues with Mockito lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getConfig()).thenReturn(config); lenient().when(config.getListCount()).thenReturn(10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
z.doDecommissionInRoutine(ctx, idx) } }() // Successfully started decommissioning. return nil } type decomError struct { Err string } func (d decomError) Error() string { return d.Err } type poolSpaceInfo struct { Free int64 Total int64 Used int64 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 42.1K bytes - Viewed (1) -
cmd/bitrot-streaming.go
"github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" ) // Calculates bitrot in chunks and writes the hash into the stream. type streamingBitrotWriter struct { iow io.WriteCloser closeWithErr func(err error) h hash.Hash shardSize int64 canClose *sync.WaitGroup byteBuf []byte finished bool }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
clause/set.go
package clause import "sort" type Set []Assignment type Assignment struct { Column Column Value interface{} } func (set Set) Name() string { return "SET" } func (set Set) Build(builder Builder) { if len(set) > 0 { for idx, assignment := range set { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(assignment.Column) builder.WriteByte('=')
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Nov 29 03:02:44 UTC 2021 - 1.4K bytes - Viewed (0) -
cmd/bootstrap-messages.go
package cmd import ( "context" "sync" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/pubsub" ) const bootstrapTraceLimit = 4 << 10 type bootstrapTracer struct { mu sync.RWMutex info []madmin.TraceInfo } var globalBootstrapTracer = &bootstrapTracer{} func (bs *bootstrapTracer) Record(info madmin.TraceInfo) { bs.mu.Lock() defer bs.mu.Unlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
<div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## Forbid Extra Headers { #forbid-extra-headers } In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
migrator/column_type.go
package migrator import ( "database/sql" "reflect" ) // ColumnType column type implements ColumnType interface type ColumnType struct { SQLColumnType *sql.ColumnType NameValue sql.NullString DataTypeValue sql.NullString ColumnTypeValue sql.NullString PrimaryKeyValue sql.NullBool UniqueValue sql.NullBool AutoIncrementValue sql.NullBool LengthValue sql.NullInt64
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 3.3K bytes - Viewed (0)