Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for author (0.31 sec)

  1. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    		t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content)
    	}
    
    	if hnPost.Author.ContentPtr != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    		References: []Reference{{"ID", "User", "UserRefer", "Profile", "", true}},
    	})
    }
    
    type Author struct {
    	gorm.Model
    }
    
    type Book struct {
    	gorm.Model
    	Author   Author
    	AuthorID uint
    }
    
    func (Book) TableName() string {
    	return "my_schema.a_very_very_very_very_very_very_very_very_long_table_name"
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/authz_test.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    		return authTypeAnonymous
    	}
    	return authTypeUnknown
    }
    
    func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) {
    	var cred auth.Credentials
    	var owner bool
    	s3Err := ErrAccessDenied
    	if _, ok := r.Header[xhttp.AmzContentSha256]; ok &&
    		getRequestAuthType(r) == authTypeSigned {
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. internal/crypto/auto-encryption.go

    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    // the MINIO_KMS_AUTO_ENCRYPTION env. variable is
    // set to "on".
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/bytes/export_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    // Export func for testing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 00:56:36 GMT 2019
    - 244 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/backdoor.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import _ "unsafe"
    
    //go:linkname lockedOSThread runtime.lockedOSThread
    //extern runtime_lockedOSThread
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 307 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue23555b/a.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue23555
    
    // #include <stdlib.h>
    import "C"
    
    func X() {
    	C.free(C.malloc(10))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 250 bytes
    - Viewed (0)
  9. src/cmd/api/boring_test.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	fmt.Printf("SKIP with boringcrypto enabled\n")
    	os.Exit(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 16 16:02:26 GMT 2023
    - 300 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue29563.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 363 bytes
    - Viewed (0)
Back to top