Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 88 of 88 for sname (0.05 sec)

  1. tests/update_test.go

    	if err := DB.Table("users").Where("1 = 1").Update("name", DB.Table("companies").Select("name").Where("companies.id = users.company_id")).Error; err != nil {
    		t.Errorf("failed to update with sub query, got error %v", err)
    	}
    
    	DB.First(&result, user.ID)
    	if result.Name != "new company name" {
    		t.Errorf("name should be %v, but got %v", user.Company.Name, result.Name)
    	}
    }
    
    func TestIdempotentSave(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    package bytes
    
    import (
    	"internal/bytealg"
    	"math/bits"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	}
    
    	if !DB.Migrator().HasIndex(&IndexStruct{}, "Name") {
    		t.Fatalf("Failed to find index for user's name")
    	}
    
    	if err := DB.Migrator().DropIndex(&IndexStruct{}, "Name"); err != nil {
    		t.Fatalf("Failed to drop index for user's name, got err %v", err)
    	}
    
    	if DB.Migrator().HasIndex(&IndexStruct{}, "Name") {
    		t.Fatalf("Should not find index for user's name after delete")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		Type:      histogramMetric,
    	}
    }
    
    func getBucketObjectVersionsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: bucketMetricNamespace,
    		Subsystem: objectsSubsystem,
    		Name:      versionDistribution,
    		Help:      "Distribution of object sizes in the bucket, includes label for the bucket name",
    		Type:      histogramMetric,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // will also be deleted. The name of the ResourceClaim will be <pod
      // name>-<resource name>, where <resource name> is the
      // PodResourceClaim.Name. Pod validation will reject the pod if the
      // concatenated name is not valid for a ResourceClaim (e.g. too long).
      //
      // An existing ResourceClaim with that name that is not owned by the
      // pod will not be used for the pod to avoid using an unrelated
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg crypto/x509/pkix, type Name struct
    pkg crypto/x509/pkix, type Name struct, CommonName string
    pkg crypto/x509/pkix, type Name struct, Country []string
    pkg crypto/x509/pkix, type Name struct, Locality []string
    pkg crypto/x509/pkix, type Name struct, Names []AttributeTypeAndValue
    pkg crypto/x509/pkix, type Name struct, Organization []string
    pkg crypto/x509/pkix, type Name struct, OrganizationalUnit []string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. RELEASE.md

    *   Fixes an NPE in RandomShuffle with XLA enable [CVE-2023-25674](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25674)
    *   Fixes an FPE in TensorListSplit with XLA [CVE-2023-25673](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25673)
    *   Fixes segmentation fault in tfg-translate [CVE-2023-25671](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25671)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (linux-arm-cgo), func Times(*Tms) (uintptr, error)
    pkg syscall (linux-arm-cgo), func Truncate(string, int64) error
    pkg syscall (linux-arm-cgo), func Umask(int) int
    pkg syscall (linux-arm-cgo), func Uname(*Utsname) error
    pkg syscall (linux-arm-cgo), func UnixCredentials(*Ucred) []uint8
    pkg syscall (linux-arm-cgo), func UnixRights(...int) []uint8
    pkg syscall (linux-arm-cgo), func Unlinkat(int, string) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top