Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 550 for invalidAt (0.17 sec)

  1. internal/event/targetid.go

    	*tid = *targetID
    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    		ID:   tokens[0],
    		Name: tokens[1],
    	}, nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    	ChecksumSHA1
    	// ChecksumCRC32 indicates a CRC32 checksum with IEEE table.
    	ChecksumCRC32
    	// ChecksumCRC32C indicates a CRC32 checksum with Castagnoli table.
    	ChecksumCRC32C
    	// ChecksumInvalid indicates an invalid checksum.
    	ChecksumInvalid
    	// ChecksumMultipart indicates the checksum is from a multipart upload.
    	ChecksumMultipart
    	// ChecksumIncludesMultipart indicates the checksum also contains part checksums.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":     signV4Algorithm,
    				"X-Amz-Date":          now.Format(iso8601Format),
    				"X-Amz-Expires":       "60",
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01.py!}
    ```
    
    ////
    
    FastAPI will use this return type to:
    
    * **Validate** the returned data.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"a.b", true},
    		{"ab.a.bc", true},
    		// cases for which test should fail.
    		// passing invalid bucket names.
    		{"------", false},
    		{"my..bucket", false},
    		{"192.168.1.1", false},
    		{"$this-is-not-valid-too", false},
    		{"contains-$-dollar", false},
    		{"contains-^-caret", false},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. internal/config/compress/compress_test.go

    import (
    	"reflect"
    	"testing"
    )
    
    func TestParseCompressIncludes(t *testing.T) {
    	testCases := []struct {
    		str              string
    		expectedPatterns []string
    		success          bool
    	}{
    		// invalid input
    		{",,,", []string{}, false},
    		{"", []string{}, false},
    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  9. src/main/assemblies/files/service.bat

    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    if errorlevel 1 (
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

    def test_incorrect_token(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Invalid authentication credentials"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    @needs_py39
    def test_incorrect_token_type(client: TestClient):
        response = client.get(
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top