Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for testfile (0.04 sec)

  1. src/archive/zip/reader_test.go

    		Name: "readme.zip",
    	},
    	{
    		Name:  "readme.notzip",
    		Error: ErrFormat,
    	},
    	{
    		Name: "dd.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "filename",
    				Content:  []byte("This is a test textfile.\n"),
    				Modified: time.Date(2011, 2, 2, 13, 6, 20, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	{
    		// created in windows XP file manager.
    		Name: "winxp.zip",
    		File: []ZipTestFile{
    			{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    func TestCapWithSliceAndWrittenData(t *testing.T) {
    	buf := NewBuffer(make([]byte, 0, 10))
    	buf.Write([]byte("test"))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    func TestNil(t *testing.T) {
    	var b *Buffer
    	if b.String() != "<nil>" {
    		t.Errorf("expected <nil>; got %q", b.String())
    	}
    }
    
    func TestReadFrom(t *testing.T) {
    	var buf Buffer
    	for i := 3; i < 30; i += 3 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. api/go1.19.txt

    pkg io/ioutil, func ReadAll //deprecated #42026
    pkg io/ioutil, func ReadDir //deprecated #42026
    pkg io/ioutil, func ReadFile //deprecated #42026
    pkg io/ioutil, func TempDir //deprecated #42026
    pkg io/ioutil, func TempFile //deprecated #42026
    pkg io/ioutil, func WriteFile //deprecated #42026
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                                    contentType = defaultMimeType;
                                }
                            }
                        } else {
                            final File outputFile = dfos.getFile();
                            responseData.setResponseBody(outputFile, true);
                            contentLength = outputFile.length();
                            if (contentType == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

        }
    
        @Test
        @SuppressWarnings("unchecked")
        public void test_indexFromDocumentWithFieldAnalyzer() throws Exception {
            String field = "testField";
    
            Map<String, String> analyzerMapping = new HashMap<>();
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_TYPE, AnalyzerSettings.FIELD_ANALYZER_MAPPING);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{"double-blind", "Double-Blind"},
    	{"ÿøû", "Ÿøû"},
    	{"with_underscore", "With_underscore"},
    	{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
    }
    
    func TestTitle(t *testing.T) {
    	for _, tt := range TitleTests {
    		if s := string(Title([]byte(tt.in))); s != tt.out {
    			t.Errorf("Title(%q) = %q, want %q", tt.in, s, tt.out)
    		}
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg io/ioutil, func ReadDir(string) ([]os.FileInfo, error)
    pkg io/ioutil, func ReadFile(string) ([]uint8, error)
    pkg io/ioutil, func TempDir(string, string) (string, error)
    pkg io/ioutil, func TempFile(string, string) (*os.File, error)
    pkg io/ioutil, func WriteFile(string, []uint8, os.FileMode) error
    pkg io/ioutil, var Discard io.Writer
    pkg log, const Ldate ideal-int
    pkg log, const Llongfile ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top