- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,727 for Interface1 (0.06 sec)
-
cni/pkg/nodeagent/netns.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import "io" type NetnsFd interface { Fd() uintptr } type Netns interface { NetnsFd Inode() uint64 } type NetnsCloser interface { io.Closer Netns } type NetnsWithFd struct { netns io.Closer fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.2K bytes - Viewed (0) -
callbacks/update.go
} } switch value := updatingValue.Interface().(type) { case map[string]interface{}: set = make([]clause.Assignment, 0, len(value)) keys := make([]string, 0, len(value)) for k := range value { keys = append(keys, k) } sort.Strings(keys) for _, k := range keys { kv := value[k] if _, ok := kv.(*gorm.DB); ok { kv = []interface{}{kv} } if stmt.Schema != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:44:55 UTC 2024 - 9.4K bytes - Viewed (0) -
istioctl/pkg/util/formatting/msg_threshold.go
// It should satisfy the pflag.Value interface. type MessageThreshold struct { diag.Level } // String is a function declared in the pflag.Value interface func (m *MessageThreshold) String() string { return m.Level.String() } // Type is a function declared in the pflag.Value interface func (m *MessageThreshold) Type() string { return "Level" }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.4K bytes - Viewed (0) -
internal/s3select/sql/jsonpath.go
// If the value should be considered flat (from wildcards) any array returned should be considered individual values. func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) { // fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v) if len(p) == 0 || v == nil { return v, false, nil } switch { case p[0].Key != nil: key := p[0].Key.keyString()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.5K bytes - Viewed (0) -
internal/s3select/sql/record.go
// Returns underlying representation Raw() (SelectObjectFormat, interface{}) // Replaces the underlying data Replace(k interface{}) error } // IterToValue converts a simdjson Iter to its underlying value. // Objects are returned as simdjson.Object // Arrays are returned as []interface{} with parsed values. func IterToValue(iter simdjson.Iter) (interface{}, error) { switch iter.Type() { case simdjson.TypeString:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.4K bytes - Viewed (0) -
schema/naming.go
import ( "crypto/sha1" "encoding/hex" "regexp" "strings" "unicode/utf8" "github.com/jinzhu/inflection" "golang.org/x/text/cases" "golang.org/x/text/language" ) // Namer namer interface type Namer interface { TableName(table string) string SchemaName(table string) string ColumnName(table, column string) string JoinTableName(joinTable string) string RelationshipFKName(Relationship) string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
tests/named_argument_test.go
t.Errorf("failed to update with named arg") } AssertEqual(t, result5, namedUser) var result6 NamedUser if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
api/go1.18.txt
pkg testing, method (*F) Helper() pkg testing, method (*F) Log(...interface{}) pkg testing, method (*F) Logf(string, ...interface{}) pkg testing, method (*F) Name() string pkg testing, method (*F) Setenv(string, string) pkg testing, method (*F) Skip(...interface{}) pkg testing, method (*F) SkipNow() pkg testing, method (*F) Skipf(string, ...interface{}) pkg testing, method (*F) Skipped() bool
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java
// Resource Interface // ================== @FunctionalInterface public interface UserTypeSupplier { OptionalThing<String> supply(); } @FunctionalInterface public interface UserBeanSupplier { OptionalThing<FessUserBean> supply(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
clause/clause_test.go
"gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) var db, _ = gorm.Open(tests.DummyDialector{}, nil) func checkBuildClauses(t *testing.T, clauses []clause.Interface, result string, vars []interface{}) { var ( buildNames []string buildNamesMap = map[string]bool{} user, _ = schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 02:50:38 UTC 2020 - 1012 bytes - Viewed (0)