- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,004 for Helpers (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
System.arraycopy(buffer, 80, actualFileId, 0, 16); assertArrayEquals(newFileId, actualFileId); assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info } // Helper interface for testing private interface TestFileInformation extends FileInformation, Encodable { }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertTrue(echoResponse.isError()); assertTrue(echoResponse.isReceived()); assertEquals(error, echoResponse.getException()); } } // Helper methods to set protected fields via reflection private void setStatus(ServerMessageBlock2 smb, int status) throws Exception { Field statusField = ServerMessageBlock2.class.getDeclaredField("status");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
} } // -- void setLocation( Object, InputLocation ) /** * Sets the InputLocation for a specific nested element key in the locations map. * This is a helper method that manages the internal locations map. * * @param key the key to set the location for * @param location the InputLocation to associate with the key */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
assertEquals(200, response.getHttpStatusCode()); assertNotNull(response.getContentAsString()); } } // --- GZIP response tests --- /** * Helper to GZIP-compress a string. */ private byte[] gzipCompress(String text) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream();
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.pager.SearchLogPager; import org.codelibs.fess.exception.FessSystemException; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.log.allcommon.EsPagingResultBean; import org.codelibs.fess.opensearch.log.cbean.ClickLogCB;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.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 java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.text.NumberFormat; import java.util.ArrayList;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K 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/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) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
return entity; }); } // =================================================================================== // Small Helper // ============ /** * Validates group attributes using LDAP manager. * * @param attributes the attributes to validateCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16K 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)