Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 786 for Helpers (0.15 sec)

  1. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            // The exception should be serializable since it extends CIFSException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        /**
         * Helper class for testing - not actually needed but demonstrates IOException usage
         */
        private static class IOException extends Exception {
            public IOException(String message) {
                super(message);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

    import org.codelibs.fess.crawler.entity.UrlQueue;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.LogHelper;
    import org.codelibs.fess.crawler.interval.IntervalController;
    import org.codelibs.fess.crawler.log.LogType;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.codelibs.fess.crawler.rule.Rule;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.app.web.base.login.FessLoginAssist;
    import org.codelibs.fess.entity.FacetQueryView;
    import org.codelibs.fess.helper.ViewHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.di.util.LdiURLUtil;
    import org.lastaflute.web.LastaWebKey;
    import org.lastaflute.web.util.LaRequestUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  7. android/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)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    @NullUnmarked
    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            baos.write(content.length);
            baos.write(content);
    
            byte[] token = baos.toByteArray();
            assertThrows(PACDecodingException.class, () -> new KerberosToken(token));
        }
    
        // Helper methods to create test tokens
    
        private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.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.core.misc.Tuple3;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top