- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 971 for Helper (0.41 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
FileEntry[] results = getResults(response); SmbShareInfo share = (SmbShareInfo) results[0]; assertEquals(shareName, share.netName); } // Helper methods using reflection to access private fields private int getStatus(NetShareEnumResponse response) throws Exception { Field field = getSuperclassField(response.getClass(), "status");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } // Helper methods to create valid buffer data private byte[] createValidBuffer(String filename, String shortName, boolean unicode) { int filenameLength = unicode ? filename.length() * 2 : filename.length();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) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
assertNotNull(filter); } // Test OPTIONS constant @Test public void test_optionsConstant() { assertEquals("OPTIONS", CorsFilter.OPTIONS); } // Helper classes for testing private static class TestCorsHandlerFactory extends CorsHandlerFactory { private boolean getCalled = false; private String lastOrigin = null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SidResolver; import jcifs.dcerpc.rpc; class SIDTest { // Helper to build a minimal sid_t private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) { rpc.sid_t s = new rpc.sid_t(); s.revision = revision;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) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(long expectedMean, long x, long y) { assertEquals( "The expectedMean should be the same as computeMeanSafely", expectedMean, computeMeanSafely(x, y)); assertMean(x, y); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.log.allcommon; import org.dbflute.cbean.ConditionBean; import org.dbflute.cbean.chelper.HpCBPurpose; import org.dbflute.cbean.chelper.HpColumnSpHandler; import org.dbflute.cbean.coption.CursorSelectOption; import org.dbflute.cbean.coption.ScalarSelectOption; import org.dbflute.cbean.coption.StatementConfigCall;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
import org.codelibs.fess.exception.FessSystemException; import org.codelibs.fess.helper.IndexingHelper; import org.codelibs.fess.helper.IntervalControlHelper; import org.codelibs.fess.helper.LanguageHelper; import org.codelibs.fess.helper.SearchLogHelper; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.ingest.IngestFactory; import org.codelibs.fess.ingest.Ingester;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
internal/ioutil/ioutil.go
type DeadlineWorker struct { timeout time.Duration } // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout. // To return values, use the WithDeadline helper instead. func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker { dw := &DeadlineWorker{ timeout: timeout, } return dw }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertNotNull(deserialized.get("list"), "List should not be null"); assertNotNull(deserialized.get("nestedMap"), "Nested map should not be null"); } /** * Helper class for testing that unregistered custom classes are rejected. */ private static class CustomTestClass { @SuppressWarnings("unused") private final String value;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
import java.util.TreeSet; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentSkipListMap; import org.jspecify.annotations.NullUnmarked; /** * Helper classes for various benchmarks. * * @author Christopher Swenson */ @NullUnmarked final class BenchmarkHelpers { /** So far, this is the best way to test various implementations of {@link Set} subclasses. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0)