Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 163 for unset (0.02 seconds)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
       * all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
       * and a node with "next" pointer equal to {@code ENDPOINT} is the last node.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. docs/zh/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)`。
    
    这会生成一个 `dict`,只包含创建 `item` 模型时显式设置的数据,不包含默认值。
    
    然后再用它生成一个只含已设置(在请求中发送)数据、且省略默认值的 `dict`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Password is null, so callback is not set (remains null)
            assertNull(pc.getPassword());
        }
    
        @Test
        @DisplayName("handle: null password leaves PasswordCallback unset")
        void testHandleWithNullPasswordDoesNotSet() throws Exception {
            // Spy to override getPasswordAsCharArray() to return null
            JAASAuthenticator spyAuth = spy(new JAASAuthenticator("DOM", "user", null));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. internal/config/dns/etcd_dns.go

    // if empty then c.prefixPath is used i.e "/skydns"
    func CoreDNSPath(prefix string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.prefixPath = prefix
    	}
    }
    
    // NewCoreDNS - initialize a new coreDNS set/unset values.
    func NewCoreDNS(cfg clientv3.Config, setters ...EtcdOption) (Store, error) {
    	etcdClient, err := clientv3.New(cfg)
    	if err != nil {
    		return nil, err
    	}
    
    	args := &CoreDNS{
    		etcdClient: etcdClient,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            String s = session.toString();
            assertTrue(s.contains("targetHost=server.example"));
            assertTrue(s.contains("targetDomain=EXAMPLE"));
        }
    
        @Test
        @DisplayName("getExpiration: null when unset, value when positive")
        void testGetExpiration() {
            SmbSessionImpl session = newSession();
            assertNull(session.getExpiration());
            setField(session, "expiration", 123L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test clearing a flag that is not set
            message.setFlags(0b1000);
            message.setFlag(0b0001, false);
            assertEquals(0b1000, message.getFlags(), "Clearing an unset flag should not change other flags.");
        }
    
        @Test
        void testReadULong() {
            // Test readULong with various values
            byte[] data = new byte[8];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	return t.syncEvents
    }
    
    func (t *apiConfig) getObjectMaxVersions() int64 {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.objectMaxVersions <= 0 {
    		// defaults to 'IntMax' when unset.
    		return math.MaxInt64
    	}
    
    	return t.objectMaxVersions
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. docs/ja/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:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/Configuration.java

         */
        String getNetbiosHostname();
    
        /**
         *
         * Property {@code jcifs.smb.client.logonShare}
         *
         * @return share to connect to during authentication, if unset connect to IPC$
         */
        String getLogonShare();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.domain}
         *
         * @return default credentials, domain name
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/custom-response.md

    * `path` - The file path to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top