Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 457 for things (0.22 sec)

  1. tests/postgres_test.go

    	}
    
    	DB.Create(&thing)
    
    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  2. internal/config/certsinfo.go

    )
    
    // printName prints the fields of a distinguished name, which include such
    // things as its common name and locality.
    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    		if len(oid) == 4 && oid[0] == 2 && oid[1] == 5 && oid[2] == 4 {
    			switch oid[3] {
    			case 3:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  3. cni/pkg/ipset/ipset.go

    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    // +build linux
    
    // Copyright (c) 2015-2023 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  5. association.go

    	for name, ok := range selectColumns {
    		columnName := ""
    		if strings.HasPrefix(name, association.Relationship.Name) {
    			if columnName = strings.TrimPrefix(name, association.Relationship.Name); columnName == ".*" {
    				columnName = name
    			}
    		} else if strings.HasPrefix(name, clause.Associations) {
    			columnName = name
    		}
    
    		if columnName != "" {
    			if ok {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    // String returns the contents of the unread portion of the buffer
    // as a string. If the [Buffer] is a nil pointer, it returns "<nil>".
    //
    // To build strings more efficiently, see the strings.Builder type.
    func (b *Buffer) String() string {
    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    // empty reports whether the unread portion of the buffer is empty.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. cmd/notification.go

    // Copyright (c) 2015-2023 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			if n.IsConst() {
    				continue
    			}
    		}
    
    		// If this is a struct, union, or enum type name, no need to guess the kind.
    		if strings.HasPrefix(n.C, "struct ") || strings.HasPrefix(n.C, "union ") || strings.HasPrefix(n.C, "enum ") {
    			n.Kind = "type"
    			needType = append(needType, n)
    			continue
    		}
    
    		if (goos == "darwin" || goos == "ios") && strings.HasSuffix(n.C, "Ref") {
    			// For FooRef, find out if FooGetTypeID exists.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callback.go

    		}
    		fname := f.Name()
    		// Remove the prepended pathname from automatically
    		// generated cgo function names.
    		if strings.HasPrefix(fname, "_") {
    			fname = path.Base(f.Name()[1:])
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    
    		namei := ""
    		if i < len(name) {
    			namei = name[i]
    		}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top