- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 1,008 for Helpers (0.07 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Setup buffer cache to return buffers for sendrecv operations lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); } /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
import org.codelibs.fess.Constants; import org.codelibs.fess.crawler.serializer.DataSerializer; import org.codelibs.fess.crawler.util.FieldConfigs; import org.codelibs.fess.exception.FessSystemException; import org.codelibs.fess.helper.ProtocolHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.junit.jupiter.api.Test;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test for * leaks, by ensuring that objects are no longer strongly referenced: * * {@snippet : * // Helper function keeps victim stack-unreachable. * private WeakReference<Foo> fooWeakRef() { * Foo x = ....; * WeakReference<Foo> weakRef = new WeakReference<>(x); * // ... use x ...Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertTrue(maxDataCount > 0); offset += 2; // Verify total bytes written assertEquals(offset, bytesWritten); } // Helper methods private Object getFieldValue(Object obj, String fieldName) { try { Field field = getField(obj.getClass(), fieldName); field.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
import jcifs.dcerpc.DcerpcHandle; import jcifs.dcerpc.UnicodeString; import jcifs.dcerpc.msrpc.LsaPolicyHandle; import jcifs.dcerpc.msrpc.lsarpc; @ExtendWith(MockitoExtension.class) class SIDCacheImplTest { // Helper to create a SID from text without throwing in the test body private static SID sid(String textual) { try { return new SID(textual); } catch (SmbException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
private static final ASN1ObjectIdentifier OID_NTLM = new ASN1ObjectIdentifier(SpnegoConstants.NTLMSSP_MECHANISM); private static final String SPNEGO_OID_STR = SpnegoConstants.SPNEGO_MECHANISM; // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
api/go1.18.txt
pkg testing, method (*F) Failed() bool pkg testing, method (*F) Fatal(...interface{}) pkg testing, method (*F) Fatalf(string, ...interface{}) pkg testing, method (*F) Fuzz(interface{}) pkg testing, method (*F) Helper() pkg testing, method (*F) Log(...interface{}) pkg testing, method (*F) Logf(string, ...interface{}) pkg testing, method (*F) Name() string pkg testing, method (*F) Setenv(string, string)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java
assertEquals("string", values[0]); assertEquals("123", values[1]); assertEquals("true", values[2]); } // ============================================================ // Helper methods // ============================================================ protected static ReadingConverter createDefaultReadingConverter() throws IOException {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
import java.util.Map; import java.util.stream.Collectors; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.helper.RelatedQueryHelper; import org.codelibs.fess.mylasta.direction.FessConfig; /** * A utility class for building query strings with proper escaping and parameters.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.junit.jupiter.api.Test;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0)