Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 123 for test_date (0.21 sec)

  1. src/archive/zip/writer_test.go

    		t.Fatalf("unexpected CreateHeader error: %v", err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("unexpected Close error: %v", err)
    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    	if got := buf.Bytes(); !bytes.Equal(got, want) {
    		fmt.Printf("%x\n%x\n", got, want)
    		t.Error("contents of time-go.zip differ")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertNotNull(raw);
            assertEquals(3, (Object) raw.size());
            assertEquals("fruits =                            apple, banana, pear, ", raw.get(0));
        }
    
        @Test
        public void testUpdate() throws Exception {
            MavenProperties p1 = new MavenProperties();
            p1.put(
                    "fruits",
                    List.of("#", "# List of fruits", "#"),
                    List.of(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            childUrlRuleMap.put("//LINK", "href");
            childUrlRuleMap.put("//SCRIPT", "src");
            htmlTransformer.setChildUrlRuleMap(childUrlRuleMap);
        }
    
        public void test_name() {
            assertEquals("htmlTransformer", htmlTransformer.getName());
        }
    
        public void test_transform() {
            final byte[] data = new String("xyz").getBytes();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    			},
    		},
    	}
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			testdataFile := "testdata/testdata.parquet"
    			file, err := os.Open(testdataFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  5. .bazelrc

    flow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,tensorflow/compiler/mlir/tfrt/translate/mlrt/testdata,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/...
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse();
            assertEquals(2, response2.getNum());
        }
    
        @Test
        public void test_update() throws Exception {
            SuggestItem[] items = getItemSet1();
            suggester.indexer().index(items);
            suggester.refresh();
    
            SuggestItem[] items2 = getItemSet1();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. tests/update_test.go

    package tests_test
    
    import (
    	"errors"
    	"regexp"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdate(t *testing.T) {
    	var (
    		users = []*User{
    			GetUser("update-1", Config{}),
    			GetUser("update-2", Config{}),
    			GetUser("update-3", Config{}),
    		}
    		user          = users[1]
    		lastUpdatedAt time.Time
    	)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, SavedModel) {
      // Load the saved model.
      const string saved_model_dir = tensorflow::GetDataDependencyFilepath(
          tensorflow::io::JoinPath("tensorflow", "cc", "saved_model", "testdata",
                                   "half_plus_two", "00000123"));
      TF_SessionOptions* opt = TF_NewSessionOptions();
      TF_Buffer* run_options = TF_NewBufferFromString("", 0);
      TF_Buffer* metagraph = TF_NewBuffer();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	// Create a testbucket
    	err = objLayer.MakeBucket(ctx, "testbucket", MakeBucketOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Unzip sample object data to the existing disks
    	err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to read the object and check its md5sum
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to cfgreate xlStorage test setup, %s", err)
    	}
    
    	xlMeta, _ := os.ReadFile("testdata/xl.meta")
    	fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", fileInfoOpts{Data: false})
    
    	// Create files for the test cases.
    	if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top