Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for asString (0.04 sec)

  1. cmd/postpolicyform.go

    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val any) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val performanceTestsCiJsonObj: Map<String, List<Map<String, Any>>> = objectMapper.readValue(performanceTestsCiJson)
    
            return performanceTestsCiJsonObj["performanceTests"]!!.map { scenarioObj ->
                val testId = scenarioObj["testId"] as String
                val groups =
                    (scenarioObj["groups"] as List<Map<String, Any>>).map { groupObj ->
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. schema/field_test.go

    }
    
    type UserWithPermissionControl struct {
    	ID    uint
    	Name  string `gorm:"-"`
    	Name2 string `gorm:"->"`
    	Name3 string `gorm:"<-"`
    	Name4 string `gorm:"<-:create"`
    	Name5 string `gorm:"<-:update"`
    	Name6 string `gorm:"<-:create,update"`
    	Name7 string `gorm:"->:false;<-:create,update"`
    	Name8 string `gorm:"->;-:migration"`
    }
    
    func TestParseFieldWithPermission(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg mime, func ExtensionsByType(string) ([]string, error)
    pkg mime, method (*WordDecoder) Decode(string) (string, error)
    pkg mime, method (*WordDecoder) DecodeHeader(string) (string, error)
    pkg mime, method (WordEncoder) Encode(string, string) string
    pkg mime, type WordDecoder struct
    pkg mime, type WordDecoder struct, CharsetReader func(string, io.Reader) (io.Reader, error)
    pkg mime, type WordEncoder uint8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    	// Go string to C string
    	// The C string is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            String query4 = "test query";
            String escaped4 = SuggestUtil.escapeWildcardQuery(query4);
            assertEquals("test query", escaped4);
    
            // Test with multiple wildcards
            String query5 = "***???";
            String escaped5 = SuggestUtil.escapeWildcardQuery(query5);
            assertEquals("\\*\\*\\*\\?\\?\\?", escaped5);
    
            // Test empty string
            String query6 = "";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

     * <li>{@link #addToArrayIndex(String, String, String, Map)}: Adds a map to the array index.</li>
     * <li>{@link #deleteKeyFromArray(String, String, String)}: Deletes all entries associated with the specified key from the array index.</li>
     * <li>{@link #deleteFromArray(String, String, String)}: Deletes a specific entry from the array index based on the ID.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		name     string
    		metadata map[string]string
    		keys     []string
    		want     map[string]string
    	}{
    		{
    			name:     "1",
    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "STANDARD", "md5": "abcde"},
    			keys:     []string{"etag", "md5"},
    			want:     map[string]string{"content-type": "application/octet-stream", "x-amz-storage-class": "STANDARD"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. cmd/api-response.go

    	ChecksumCRC32C    string `xml:"ChecksumCRC32C,omitempty"`
    	ChecksumSHA1      string `xml:"ChecksumSHA1,omitempty"`
    	ChecksumSHA256    string `xml:"ChecksumSHA256,omitempty"`
    	ChecksumCRC64NVME string `xml:",omitempty"`
    }
    
    // DeleteError structure.
    type DeleteError struct {
    	Code      string
    	Message   string
    	Key       string
    	VersionID string `xml:"VersionId"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        public static final String MAVEN_STYLE_TRACE_NAME = "trace";
        public static final String MAVEN_STYLE_DEBUG_NAME = "debug";
        public static final String MAVEN_STYLE_INFO_NAME = "info";
        public static final String MAVEN_STYLE_WARNING_NAME = "warning";
        public static final String MAVEN_STYLE_ERROR_NAME = "error";
        public static final String MAVEN_STYLE_SUCCESS_NAME = "success";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top