- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for pts2 (0.26 seconds)
-
tensorflow/c/c_api_test.cc
std::string bytes1, bytes2; tensorflow::TensorShapeProto proto; const int64_t pts1[] = {2, 4, -1, 8}; tensorflow::PartialTensorShape(pts1).AsProto(&proto); proto.SerializeToString(&bytes1); const int64_t pts2[] = {1, 3, 5, 7}; tensorflow::PartialTensorShape(pts2).AsProto(&proto); proto.SerializeToString(&bytes2); std::unique_ptr<const void*[]> list_ptrs;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
// including timezone is ignored. func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) { if ts2.Before(ts1) { v, err := dateDiff(timePart, ts2, ts1) if err == nil { v.negate() } return v, err } duration := ts2.Sub(ts1) y1, m1, d1 := ts1.Date() y2, m2, d2 := ts2.Date() switch timePart { case timePartYear: dy := int64(y2 - y1)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
file1 = File.createTempFile("kuromoji_", ".txt"); FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3" .getBytes(Constants.UTF_8)); } @Override protected void tearDown(TestInfo testInfo) throws Exception { file1.delete(); } */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
tests/associations_has_many_test.go
CheckUser(t, user2, user) AssertAssociationCount(t, user, "Pets", 3, "AfterAppend") pets2 := []Pet{{Name: "pet-has-many-append-1-1"}, {Name: "pet-has-many-append-1-1"}} if err := DB.Model(&user2).Association("Pets").Append(&pets2); err != nil { t.Fatalf("Error happened when append pet, got %v", err) } for _, pet := range pets2 { pet := pet if pet.ID == 0 { t.Fatalf("Pet's ID should be created") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
} extensions.findByType<DevelocityTestConfiguration>()?.apply { // PTS doesn't work well with architecture tests which scan all classes predictiveTestSelection.enabled = false } } } } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 08:11:56 GMT 2026 - 3.4K bytes - Click Count (0) -
build-logic/buildquality/build.gradle.kts
compileOnly(buildLibs.kotlinCompilerEmbeddable) { because("Required by IncubatingApiReportTask") } implementation(buildLibs.develocityPlugin) { because("Arch-test plugin configures the PTS extension") } testImplementation(testLibs.junit5JupiterEngine) testImplementation(buildLibs.commonsLang3)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 09:06:26 GMT 2026 - 1.2K bytes - Click Count (0) -
tests/create_test.go
} var petIDs []uint for _, pet := range pets { petIDs = append(petIDs, pet.ID) CheckPet(t, pet, pet) } var pets2 []Pet DB.Preload("Toy").Find(&pets2, "id IN ?", petIDs) for idx, pet := range pets2 { CheckPet(t, pet, pets[idx]) } }) t.Run("SliceOfPtr", func(t *testing.T) { pets := []*Pet{{ Name: "PolymorphicHasOne-Slice-1",
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
if err != nil { return nil, err } if err = inferTypeAsTimestamp(tval2); err != nil { return nil, err } ts2, ok := tval2.ToTimestamp() if !ok { return nil, fmt.Errorf("%s() expects two timestamp arguments", sqlFnDateDiff) } return dateDiff(strings.ToUpper(d.DatePart), ts1, ts2) } func handleUTCNow() (*Value, error) { return FromTimestamp(time.Now().UTC()), nil }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
src/archive/tar/reader.go
pos1, err := sr.Seek(0, io.SeekCurrent) if pos1 >= 0 && err == nil { // Seek seems supported, so perform the real Seek. pos2, err := sr.Seek(n-1, io.SeekCurrent) if pos2 < 0 || err != nil { return err } seekSkipped = pos2 - pos1 } } copySkipped, err := io.CopyN(io.Discard, r, n-seekSkipped) if err == io.EOF && seekSkipped+copySkipped < n {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0)