- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 1,111 for appends (0.04 seconds)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Prepare test data with long filename (255 characters) StringBuilder longName = new StringBuilder(); for (int i = 0; i < 255; i++) { longName.append((char) ('a' + (i % 26))); } String expectedFilename = longName.toString(); byte[] buffer = createValidBuffer(expectedFilename, "LONGNA~1.TXT", true); // Decode
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
tests/scan_test.go
Age int } var results []Result for rows.Next() { var result Result if err := DB.ScanRows(rows, &result); err != nil { t.Errorf("should get no error, but got %v", err) } results = append(results, result) } sort.Slice(results, func(i, j int) bool { return strings.Compare(results[i].Name, results[j].Name) <= -1 })
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
internal/grid/manager.go
func (m *Manager) HostName() string { return m.local } // Targets returns the names of all remote targets. func (m *Manager) Targets() []string { var res []string for k := range m.targets { res = append(res, k) } return res } // debugMsg should *only* be used by tests. // //lint:ignore U1000 This is used by tests. func (m *Manager) debugMsg(d debugMsg, args ...any) { for _, c := range m.targets {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
src/archive/zip/writer_test.go
if err != nil { t.Fatal(err) } if err := w.Close(); err != nil { t.Fatal(err) } // Add subfolder into fsys to match what we'll read from the zip. tests = append(tests[:2:2], WriteTest{Name: "subfolder", Mode: 0o555 | os.ModeDir}, tests[2]) // read it back r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) if err != nil { t.Fatal(err) }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
} @Test public void test_buildFilePath_longPathComponent() { final StringBuilder longName = new StringBuilder(); for (int i = 0; i < 250; i++) { longName.append("a"); } final Path result = indexExportJob.buildFilePath("/export", "https://example.com/" + longName + ".html", new HtmlIndexExportFormatter());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
*/ private String createTestString(int length) { StringBuilder sb = new StringBuilder(length); for (int i = 0; i < length; i++) { sb.append((char) ('A' + (i % 26))); } return sb.toString(); } /** * Helper method to create a mock Type 2 message with target information for NTLMv2 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
partNumString := strconv.Itoa(testCase.partNum) fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil) } // Add failure test case. testCases = append(testCases, struct { partNum int expectedIndex int }{6, -1}) // Test them. for _, testCase := range testCases {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/archive/tar/format.go
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* suitable for your application, see <a * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>. * * @return {@code true} if this domain name appears exactly on the public suffix list * @since 6.0 */ public boolean isPublicSuffix() { return publicSuffixIndex() == 0; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0)