Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,406 for Key (0.01 sec)

  1. utils/utils_test.go

    	cases := []struct {
    		values []interface{}
    		key    string
    	}{
    		{[]interface{}{"a"}, "a"},
    		{[]interface{}{1, 2, 3}, "1_2_3"},
    		{[]interface{}{1, nil, 3}, "1_nil_3"},
    		{[]interface{}{[]interface{}{1, 2, 3}}, "[1 2 3]"},
    		{[]interface{}{[]interface{}{"1", "2", "3"}}, "[1 2 3]"},
    		{[]interface{}{[]interface{}{"1", nil, "3"}}, "[1 <nil> 3]"},
    	}
    	for _, c := range cases {
    		if key := ToStringKey(c.values...); key != c.key {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/additional-responses.md

    对于这些情况,你可以使用Python的技术,将 `dict` 与 `**dict_to_unpack` 解包:
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    这里, new_dict 将包含来自 old_dict 的所有键值对加上新的键值对:
    ```python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    您可以使用该技术在路径操作中重用一些预定义的响应,并将它们与其他自定义响应相结合。
    **例如:**
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:29:26 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this lease request
         * @param leaseKey the lease key to set
         */
        public void setLeaseKey(Smb2LeaseKey leaseKey) {
            this.leaseKey = leaseKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            for (final String key : extractData.getKeySet()) {
                logger.info("{}={}", key, String.join("|", extractData.getValues(key)));
            }
            assertEquals("4", extractData.getValues("cp:revision")[0]);
            assertEquals("こめんと", extractData.getValues("w:Comments")[0]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. tests/create_test.go

    	}
    
    	jt := JoinTable{UserID: 1, FriendID: 2}
    	err := DB.Create(&jt).Error
    	if err != nil {
    		t.Errorf("No error should happen when create a record without a GORM primary key. But in the database this primary key exists and is the union of 2 or more fields\n But got: %s", err)
    	}
    }
    
    func TestSelectWithCreate(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

            }
            paramList.add(encode(key) + "=" + encode(value));
            return this;
        }
    
        /**
         * Adds a request header.
         *
         * @param key the header key
         * @param value the header value
         * @return this CurlRequest instance
         */
        public CurlRequest header(final String key, final String value) {
            if (headerList == null) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. helm-releases/minio-2.0.1.tgz

    $scheme }}-console containerPort: {{ .Values.minioConsolePort }} env: - name: MINIO_ROOT_USER valueFrom: secretKeyRef: name: {{ template "minio.secretName" . }} key: rootUser - name: MINIO_ROOT_PASSWORD valueFrom: secretKeyRef: name: {{ template "minio.secretName" . }} key: rootPassword {{- range $key, $val := .Values.environment }} - name: {{ $key }} value: {{ $val | quote }} {{- end}} resources: {{ toYaml .Values.resources | indent 12 }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 31 09:09:09 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Striped.java

      private Striped() {}
    
      /**
       * Returns the stripe that corresponds to the passed key. It is always guaranteed that if {@code
       * key1.equals(key2)}, then {@code get(key1) == get(key2)}.
       *
       * @param key an arbitrary, non-null key
       * @return the stripe that the passed key corresponds to
       */
      public abstract L get(Object key);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

                                    {
                                        String key = getSnapshotVersionKey( sv );
                                        if ( !versions.containsKey( key ) )
                                        {
                                            versions.put( key, sv );
                                        }
                                    }
                                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. tests/table_test.go

    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    			t.Fatalf("failed to find unique constraint, got %v", constraints)
    		}
    
    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    	t.Run("naming strategy", func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top