- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 163 for unset (0.02 seconds)
-
cmd/bucket-replication_test.go
rcfg: replicationConfig{remotes: &madmin.BucketTargets{Targets: []madmin.BucketTarget{{ Arn: "arn1", }}}}, expectedSync: true, }, { // 3. replication status unset name: "existing object replication on pre-existing unreplicated object", info: ObjectInfo{ Size: 100, ReplicationStatus: replication.StatusType(""),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/bucket-metadata.go
// Handle migration from lockEnabled to newer format. if b.LockEnabled { configs[objectLockConfig] = enabledBucketObjectLockConfig b.LockEnabled = false // legacy value unset it // we are only interested in b.ObjectLockConfigXML or objectLockConfig value } for _, legacyFile := range legacyConfigs { configFile := path.Join(bucketMetaPrefix, b.Name, legacyFile)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
cmd/admin-server-info.go
} sort.Ints(props.PoolNumbers) props.PoolNumber = func() int { if len(props.PoolNumbers) == 1 { return props.PoolNumbers[0] } return math.MaxInt // this indicates that its unset. }() sensitive := map[string]struct{}{ config.EnvAccessKey: {}, config.EnvSecretKey: {}, config.EnvRootUser: {}, config.EnvRootPassword: {},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
docs/ko/docs/tutorial/body-updates.md
그리고 많은 팀이 부분 업데이트에도 `PUT`만 사용합니다. 여러분은 원하는 방식으로 **자유롭게** 사용할 수 있으며, **FastAPI**는 어떤 제한도 강제하지 않습니다. 다만 이 가이드는 의도된 사용 방식이 대략 어떻게 되는지를 보여줍니다. /// ### Pydantic의 `exclude_unset` 파라미터 사용하기 { #using-pydantics-exclude-unset-parameter } 부분 업데이트를 받으려면 Pydantic 모델의 `.model_dump()`에서 `exclude_unset` 파라미터를 사용하는 것이 매우 유용합니다. 예: `item.model_dump(exclude_unset=True)`. 이는 `item` 모델을 만들 때 실제로 설정된 데이터만 포함하는 `dict`를 생성하고, 기본값은 제외합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
* @return true if the flag is set, false otherwise */ public boolean isFlagSet(final int flag) { return (flags & flag) == flag; } /** * Unsets a specific flag * @param flag the flag to unset */ public void unsetFlag(final int flag) { flags &= ~flag; } /** * Sets a specific flag * @param flag the flag to set */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
TestMessage m = new TestMessage(); int FLAG_A = 0x01; int FLAG_B = 0x02; assertFalse(m.isFlagSet(FLAG_A)); m.setFlag(FLAG_A); assertTrue(m.isFlagSet(FLAG_A)); // unset correctly removes the flag m.unsetFlag(FLAG_A); assertFalse(m.isFlagSet(FLAG_A)); // Test another flag m.setFlag(FLAG_B); assertTrue(m.isFlagSet(FLAG_B));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
func RootCAs(certPool *x509.CertPool) OperatorOption { return func(args *OperatorDNS) { args.rootCAs = certPool } } // NewOperatorDNS - initialize a new K8S Operator DNS set/unset values. func NewOperatorDNS(endpoint string, setters ...OperatorOption) (Store, error) { if endpoint == "" { return nil, errors.New("invalid argument") } args := &OperatorDNS{ Endpoint: endpoint, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
But this guide shows you, more or less, how they are intended to be used. /// ### Using Pydantic's `exclude_unset` parameter { #using-pydantics-exclude-unset-parameter } If you want to receive partial updates, it's very useful to use the parameter `exclude_unset` in Pydantic's model's `.model_dump()`. Like `item.model_dump(exclude_unset=True)`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-updates.md
/// note | 注意 `PATCH` 相較於 `PUT` 較少被使用、也較不為人知。 許多團隊甚至在部分更新時也只用 `PUT`。 你可以依需求自由選用,**FastAPI** 不會強制規範。 但本指南會大致示範它們各自的設計用法。 /// ### 使用 Pydantic 的 `exclude_unset` 參數 { #using-pydantics-exclude-unset-parameter } 如果要接收部分更新,在 Pydantic 模型的 `.model_dump()` 中使用 `exclude_unset` 參數非常實用。 例如 `item.model_dump(exclude_unset=True)`。 這會產生一個只包含建立 `item` 模型時實際設定過之欄位的 `dict`,不含預設值。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
// Properties set should override defaults assertTrue(config.isUseMultiChannel()); assertEquals(8, config.getMaxChannels()); // Unset properties should use defaults assertEquals(1, config.getChannelBindingPolicy()); assertEquals("adaptive", config.getLoadBalancingStrategy()); assertEquals(10, config.getChannelHealthCheckInterval());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0)