- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 971 for Helper (0.35 seconds)
-
guava/src/com/google/common/collect/CompactHashing.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Helper classes and static methods for implementing compact hash-based collections. * * @author Jon Noack */ @GwtIncompatible final class CompactHashing { private CompactHashing() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
import org.codelibs.fess.app.pager.RelatedQueryPager; import org.codelibs.fess.app.service.RelatedQueryService; import org.codelibs.fess.app.web.CrudMode; import org.codelibs.fess.app.web.base.FessAdminAction; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.opensearch.config.exentity.RelatedQuery; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder; import static com.google.common.collect.testing.Helpers.copyToList; import static java.util.Arrays.asList; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtCompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K 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) -
guava-tests/test/com/google/common/math/IntMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(int expectedMean, int x, int 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: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(int expectedMean, int x, int 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: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
import jcifs.Configuration; import jcifs.util.Encdec; @ExtendWith(MockitoExtension.class) class NtlmUtilTest { @Mock CIFSContext cifsContext; @Mock Configuration configuration; // Helper: decode hex string to bytes private static byte[] hex(String s) { String clean = s.replaceAll("[^0-9A-Fa-f]", ""); int len = clean.length(); byte[] out = new byte[len / 2];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// Return just the base; caller is responsible for placing ctx at the correct absolute offset. // We will return a composite buffer from the test when building the full packet. // To keep this helper simple, return base and let the caller append/pad and inject ctx. return base; } /** * Build a full SMB2 packet combining header and provided body, optionally injecting context bytes. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Transport wiring - used by most tests when(transport.acquire()).thenReturn(transport); when(transport.getContext()).thenReturn(cifsContext); } // Helper to set private fields for targeted edge cases private static void setField(Object target, String name, Object value) { try { Field f = target.getClass().getDeclaredField(name);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertTrue(result.contains("Inherited")); assertTrue(result.contains("This folder, subfolders and files")); } @Test @DisplayName("Test appendCol helper method") void testAppendCol() { StringBuffer sb = new StringBuffer(); // Test with short string ace.appendCol(sb, "test", 10); assertEquals("test ", sb.toString());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0)