- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,468 for example1 (0.1 seconds)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
void getSmbTree_happy() { when(session.getSmbTree(anyString(), anyString())).thenReturn(tree); String share = "share"; String svc = "A:"; // service string example (e.g., DISK, IPC, or other) SmbTree result = session.getSmbTree(share, svc); assertSame(tree, result); ArgumentCaptor<String> shareCap = ArgumentCaptor.forClass(String.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
* <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedMap} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* annotated by {@link TestSubtype}. * * <p>These declaration methods rely on Java static type checking to make sure what we want to * assert as subtypes are really subtypes according to javac. For example: * * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
assertThat(cacheControl.noTransform).isTrue() assertThat(cacheControl.toString()).isEqualTo(header) } @Test @Throws(Exception::class) fun parseIgnoreCacheControlExtensions() { // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6 val header = "private, community=\"UCI\"" val cacheControl = parse( Headers .Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
// to compare such streams of bytes that may be split up, because: // // Given the function: // // f := func(r io.Reader) string { // b, _ := io.ReadAll(r) // return string(b) // } // // for example, the following is true: // // f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50)) func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker { if totalLength < 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* <li>Conversion of individual Hankaku Kana characters to Zenkaku Kana characters.</li> * <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li> * </ul> * * <p>Example usage:</p> * <pre> * {@code * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); * String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 6.8K bytes - Click Count (1) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_pass.pdf"); final Map<String, String> params = new HashMap<String, String>(); params.put(ExtractData.URL, "http://example.com/test_pass.pdf"); final String content = pdfExtractorForPdfPassword.getText(in, params).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト"));
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
@BeforeEach void setUp() { keys = new HashMap<>(); // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5 KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("test@EXAMPLE.COM"), "serverKey1234567".getBytes(), PacSignature.ETYPE_ARCFOUR_HMAC, 1); keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, serverKey); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* concurrently updating. */ public void reset() { internalReset(0L); } /** * Equivalent in effect to {@link #sum} followed by {@link #reset}. This method may apply for * example during quiescent points between multithreaded computations. If there are updates * concurrent with this method, the returned value is not guaranteed to be the final * value occurring before the reset. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/sts-handlers_test.go
c.Fatalf("policy add error: %v", err) } ldapID := cr.LDAPIdentity{ Client: s.TestSuiteCommon.client, STSEndpoint: s.endPoint, LDAPUsername: "svc.algorithm", LDAPPassword: "example", } _, err = ldapID.Retrieve() if err == nil { c.Fatalf("Expected to fail to create STS cred with no associated policy!") } mustNormalizeDN := func(dn string) string {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1)