- Sort Score
 - Result 10 results
 - Languages All
 
Results 821 - 830 of 1,248 for helpers (0.06 sec)
- 
				
				
cmd/metrics-v3-types.go
CollectorPath: path, Descriptors: descriptors, bucketLoader: loader, } mg.validate() return mg } // AddExtraLabels - adds extra (constant) label KV pairs to the metrics group. // This is a helper to initialize the `ExtraLabels` field. The argument is a // list of ordered label name and value pairs. func (mg *MetricsGroup) AddExtraLabels(labels ...string) { if len(labels)%2 != 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
import java.util.ArrayList; import java.util.List; import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; /** * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for * equivalence classes. * * @author Gregory Kick */ @GwtCompatible @NullMarked final class RelationshipTester<T> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) - 
				
				
guava-tests/test/com/google/common/net/PercentEscaperTest.java
IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper(" ", true)); assertThat(expected).hasMessageThat().isEqualTo(msg); } /** Helper to manually escape a 7-bit ascii character */ private String escapeAscii(char c) { Preconditions.checkArgument(c < 128); String hex = "0123456789ABCDEF";Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/DosErrorTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.ArgumentCaptor; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class DosErrorTest { // Helper that performs a lookup over the constants exposed by DosError. // Returns -1 if the DOS code is not mapped. private static int findNtStatusOrMinusOne(int dosCode) { for (int[] pair : DosError.DOS_ERROR_CODES) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
assertSame(user, result); assertEquals("modified", user.getName()); // Check that user was modified assertTrue(testLdapManager.applyCalled); } // Helper method to create test user private User createTestUser(String username, String password) { User user = new User(); user.setName(username); user.setPassword(password);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc"); assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect"); } // Helper methods to write numbers to byte array in little-endian format. private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) - 
				
				
src/main/java/org/codelibs/fess/filter/CorsFilter.java
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; /** * Filter for handling Cross-Origin Resource Sharing (CORS) requests. * Processes CORS headers and handles preflight OPTIONS requests. */ public class CorsFilter implements Filter { /** * Creates a new instance of CorsFilter. */ public CorsFilter() { // Default constructor
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) - 
				
				
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
import org.codelibs.core.collection.ArrayUtil; import org.codelibs.core.stream.StreamUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.helper.ViewHelper; import org.codelibs.fess.mylasta.action.FessUserBean; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.client.SearchEngineClient.SearchCondition;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
// Should not throw exception labels.testAssertPropertyNotNull("test"); labels.testAssertPropertyNotNull(""); labels.testAssertPropertyNotNull(" "); } // Helper class to test protected method private static class TestFessLabels extends FessLabels { private static final long serialVersionUID = 1L; public void testAssertPropertyNotNull(String property) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/job/PythonJobTest.java
import java.util.List; import java.util.Map; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.Constants; import org.codelibs.fess.exception.JobProcessingException; import org.codelibs.fess.helper.ProcessHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.InputStreamThread;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0)