- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,608 for strict (0.07 sec)
-
tests/non_std_test.go
package tests_test import ( "testing" "time" ) type Animal struct { Counter uint64 `gorm:"primary_key:yes"` Name string `gorm:"DEFAULT:'galeone'"` From string // test reserved sql keyword as field name Age *time.Time unexported string // unexported value CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/batch-expire.go
} return nil } //msgp:ignore batchExpireJobError type batchExpireJobError struct { Code string Description string HTTPStatusCode int } func (e batchExpireJobError) Error() string { return e.Description } // maxBatchRules maximum number of rules a batch-expiry job supports const maxBatchRules = 50
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tests/update_has_one_test.go
CheckPet(t, pet4, pet) }) t.Run("Restriction", func(t *testing.T) { type CustomizeAccount struct { gorm.Model UserID sql.NullInt64 Number string `gorm:"<-:create"` Number2 string } type CustomizeUser struct { gorm.Model Name string Account CustomizeAccount `gorm:"foreignkey:UserID"` } DB.Migrator().DropTable(&CustomizeUser{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/config-encrypted_test.go
AccessKey: "minio", SecretKey: "minio1234", } data := []byte(`config data`) edata1, err := madmin.EncryptData(cred1.String(), data) if err != nil { t.Fatal(err) } edata2, err := madmin.EncryptData(cred2.String(), data) if err != nil { t.Fatal(err) } tests := []struct { edata []byte cred auth.Credentials success bool }{ {edata1, cred1, true}, {edata2, cred2, true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/http/check_port_test.go
} l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port. if err != nil { t.Fatal(err) } defer l.Close() port := l.Addr().(*net.TCPAddr).Port testCases := []struct { host string port int expectedErr error }{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/event/targetid.go
) // TargetID - holds identification and name strings of notification target. type TargetID struct { ID string Name string } // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
cni/pkg/install/binaries_test.go
) func TestCopyBinaries(t *testing.T) { cases := []struct { name string srcFiles map[string]string existingFiles map[string]string expectedFiles map[string]string }{ { name: "basic", srcFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"}, expectedFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"}, }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 20 18:34:43 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 26 19:39:32 UTC 2024 - 329 bytes - Viewed (0) -
.github/hub_scripts/pr_ci.sh
# See the License for the specific language governing permissions and # limitations under the License. # # # Simple shell script for launching CI jobs using the @bot-gradle GitHub comment listener. # Uses the [hub](https://hub.github.com/) CLI command to issue API requests to GitHub. # This script must be executed from the branch associated with the PR to issue the command on. # PR_NUMBER=$(hub pr show -f '%I')
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 22 15:25:21 UTC 2021 - 1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.jsp
<input type="hidden" id="contextPath" value="${contextPath}" /> <script type="text/javascript" src="${fe:url('/js/jquery-3.7.1.min.js')}"></script> <script type="text/javascript" src="${fe:url('/js/bootstrap.min.js')}"></script> <script type="text/javascript" src="${fe:url('/js/suggestor.js')}"></script> <script type="text/javascript" src="${fe:url('/js/advance.js')}"></script> </body>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 14.9K bytes - Viewed (0)