Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for tw (0.02 sec)

  1. src/archive/tar/writer.go

    // will implicitly flush out the file's padding.
    func (tw *Writer) Flush() error {
    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    		return fmt.Errorf("archive/tar: missed writing %d bytes", nb)
    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	t.Run("NegativeSize", func(t *testing.T) {
    		tw := NewWriter(new(bytes.Buffer))
    		hdr := &Header{Name: "small.txt", Size: -1}
    		if err := tw.WriteHeader(hdr); err == nil {
    			t.Fatalf("WriteHeader() = nil, want non-nil error")
    		}
    	})
    
    	t.Run("BeforeHeader", func(t *testing.T) {
    		tw := NewWriter(new(bytes.Buffer))
    		if _, err := tw.Write([]byte("Kilts")); err != ErrWriteTooLong {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    	}
    	if _, err := tw.Write(data); err != nil {
    		t.Fatalf("tw.Write: %v", err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatalf("tw.Close: %v", err)
    	}
    
    	// Read it back.
    	tr := NewReader(&b)
    	rHdr, err := tr.Next()
    	if err != nil {
    		t.Fatalf("tr.Next: %v", err)
    	}
    	if !reflect.DeepEqual(rHdr, hdr) {
    		t.Errorf("Header mismatch.\n got %+v\nwant %+v", rHdr, hdr)
    	}
    	rData, err := io.ReadAll(tr)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/_cloud/fess/doc.json

              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
              "match": "*_zh-tw",
              "mapping": {
                "type": "text",
                "analyzer": "empty_analyzer"
              }
            }
          }
        ],
        "properties": {
          "anchor": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess.json

              "keywords_path": "${fess.dictionary.path}th/protwords.txt"
            },
            "traditional_chinese_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}zh-tw/stopwords.txt"
            },
            "turkish_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}tr/stopwords.txt"
            },
            "turkish_lowercase": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 11 01:26:55 UTC 2022
    - 39.9K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/_aws/fess/doc.json

              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
              "match": "*_zh-tw",
              "mapping": {
                "type": "text",
                "analyzer": "empty_analyzer"
              }
            }
          }
        ],
        "properties": {
          "anchor": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/main/resources/fess_indices/fess/doc.json

              "mapping": {
                "type": "text",
                "analyzer": "simplified_chinese_analyzer"
              }
            }
          },
          {
            "lang_zh-tw": {
              "match": "*_zh-tw",
              "mapping": {
                "type": "text",
                "analyzer": "traditional_chinese_analyzer"
              }
            }
          }
        ],
        "properties": {
          "anchor": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertArrays(new String[] { "zh-tw" }, fessConfig.normalizeQueryLanguages(new String[] { "zh_TW" }));
        }
    
        public void test_getQueryLocaleFromName() {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getQueryLanguageMapping() {
                    return "ja=ja\nzh_cn=zh-cn\nzh_TW=zh-tw\nzh=zh-cn";
                }
            };
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    	for _, path := range []string{
    		"../foo",
    		"/foo",
    		"a/b/../../../c",
    	} {
    		var buf bytes.Buffer
    		tw := NewWriter(&buf)
    		tw.WriteHeader(&Header{
    			Name: path,
    		})
    		const securePath = "secure"
    		tw.WriteHeader(&Header{
    			Name: securePath,
    		})
    		tw.Close()
    
    		tr := NewReader(&buf)
    		h, err := tr.Next()
    		if err != ErrInsecurePath {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    tsuyama.okayama.jp tt tt.im tube tui tula.su tuleap-partners.com tunes tunk.org tur.ar tur.br turek.pl turin.it turystyka.pl tuscany.it tushu tuva.su tuxfamily.org tv tv.bb tv.bo tv.br tv.im tv.in tv.it tv.kg tv.na tv.sd tv.tr tv.tz tvedestrand.no tvs tw tw.cn twmail.cc twmail.net twmail.org tx.us tychy.pl tydal.no tynset.no typedream.app tysfjord.no tysnes.no tysvar.no tysvær.no tz tønsberg.no u.bg u.channelsdvr.net u.se u2-local.xnbay.com u2.xnbay.com ua ua.rs ubank ube.yamaguchi.jp uber.space ubs...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
Back to top