Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 956 for Appendf (0.26 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

            if (DISABLED) {
                return null;
            }
    
            try {
                StringBuilder p = new StringBuilder("\\").append(domain).append("\\").append(root);
                if (path != null) {
                    p.append(path);
                }
                final DfsReferral dr = trans.getDfsReferrals(auth, p.toString(), 0);
                if (dr != null) {
                    return dr;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testAppendString() throws IOException {
        File temp = createTempFile();
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N + I18N, Files.toString(temp, UTF_16LE));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        public void testConvertWithLongText() throws IOException {
            // Test convert with long text
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("word").append(i).append(" ");
            }
            String text = sb.toString();
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. internal/store/queuestore.go

    	entries := make([]string, 0, len(store.entries))
    	for entry := range store.entries {
    		entries = append(entries, entry)
    	}
    
    	// Sort entries...
    	sort.Slice(entries, func(i, j int) bool {
    		return store.entries[entries[i]] < store.entries[entries[j]]
    	})
    
    	for i := range entries {
    		keys = append(keys, parseKey(entries[i]))
    	}
    
    	return keys
    }
    
    // list will read all entries from disk.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. cmd/api-response.go

    			// Do not need to send any internal metadata
    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			toRemove = append(toRemove, k)
    			continue
    		}
    	}
    
    	for _, k := range toRemove {
    		delete(m, k)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 35K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testAppendString() throws IOException {
        File temp = createTempFile();
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N, Files.toString(temp, UTF_16LE));
        Files.append(I18N, temp, UTF_16LE);
        assertEquals(I18N + I18N + I18N, Files.toString(temp, UTF_16LE));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                        DERGeneralString stringPart = ASN1Util.as(DERGeneralString.class, part);
                        nameBuilder.append(stringPart.getString());
                        if (parts.hasMoreElements()) {
                            nameBuilder.append('/');
                        }
                    }
                    this.serverPrincipalName = nameBuilder.toString();
                    break;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
                CharStreams.copy(reader, builder);
                return builder.toString();
              }
    
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

                    StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
                    for (ModelProblem problem : modelBuildingException.getProblems()) {
                        message.append(problem).append("\n");
                    }
                    System.out.println(message);
                    fail(message.toString());
                }
    
                throw e;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
                }
                return UserDictionary.open(new StringReader(sb.toString()));
            } catch (IOException e) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top