Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addresses (0.15 sec)

  1. cmd/test-utils_test.go

    		BasicConstraintsValid: true,
    	}
    
    	hosts := strings.Split(host, ",")
    	for _, h := range hosts {
    		if ip := net.ParseIP(h); ip != nil {
    			template.IPAddresses = append(template.IPAddresses, ip)
    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    			query:      `select * from s3object[*].person[*] limit 1`,
    			wantResult: `{"Id":1,"Name":"Anshu","Address":"Templestowe","Car":"Jeep"}`,
    			withJSON:   `{ "person": [ { "Id": 1, "Name": "Anshu", "Address": "Templestowe", "Car": "Jeep" }, { "Id": 2, "Name": "Ben Mostafa", "Address": "Las Vegas", "Car": "Mustang" }, { "Id": 3, "Name": "Rohan Wood", "Address": "Wooddon", "Car": "VW" } ] }`,
    		},
    		{
    			name:       "lower-case-is",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    				// domainIPs, we proceed to do that here.
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    
    			// No IPs seem to intersect, this means that bucket exists but has
    			// different IP addresses perhaps from a different deployment.
    			// bucket names are globally unique in federation at a given
    			// path prefix, name collision is not allowed. We simply log
    			// an error and continue.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  4. tests/query_test.go

    	type AddressByZipCode struct {
    		ZipCode string `gorm:"primary_key"`
    		Address string
    	}
    
    	DB.Migrator().DropTable(&AddressByZipCode{})
    	if err := DB.AutoMigrate(&AddressByZipCode{}); err != nil {
    		t.Fatalf("failed to migrate, got error %v", err)
    	}
    
    	address := AddressByZipCode{ZipCode: "00501", Address: "Holtsville"}
    	DB.Create(&address)
    
    	var result AddressByZipCode
    	DB.First(&result, "00501")
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top