Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 5,039 for aString (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  @param expression A valid XPath string.
         *  @return An XPathEvaluationResult, which can be used to obtain a string, number, nodelist, etc, should never be null.
         *
         * @throws XPathExpressionException if an XPath expression error occurs.
         */
        public XPathEvaluationResult<?> eval(final Node contextNode, final String expression) throws XPathExpressionException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

        @PluginFactory
        public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {
            final String[] loggerNames = loggerNamePrefix != null
                    ? Arrays.stream(loggerNamePrefix.split(",")).map(String::trim).filter(s -> s.length() > 0).toArray(n -> new String[n])
                    : new String[0];
            return new ErrorToWarnRewritePolicy(loggerNames);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        }
    
        @Test
        public void testUnicodeEncoding() {
            // Test Unicode string encoding
            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            @DisplayName("Should get and set key")
            void testGetAndSetKey() {
                String key = "cache-key-123";
    
                // Test with mock
                when(mockReferralData.getKey()).thenReturn(key);
                doNothing().when(mockReferralData).setKey(key);
    
                mockReferralData.setKey(key);
                String retrievedKey = mockReferralData.getKey();
    
                assertEquals(key, retrievedKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         * @param pattern
         *            The pattern string
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Integer i -> i;
            case Number n -> n.intValue();
            case String s -> toInteger(s);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
            return asJson(new ApiResult.ApiConfigResponse()
                    .setting(charMappingService.getCharMappingItem(dictId, id).map(entity -> createEditBody(entity, dictId)).orElseGet(() -> {
                        throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id)));
                        return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
    
                String result = new String(buffer, 0, bytesRead, "UTF-8");
                assertEquals(testContent, result);
            }
        }
    
        @Test
        public void testFileBasedCacheGetInputStream() throws IOException {
            String testContent = "Hello, World!";
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            /**
             *
             */
            public String str;
    
            /**
             * @return String
             */
            public String getAaa() {
                return null;
            }
    
            /**
             * @param a
             * @return String
             */
            public String getBbb(final Object a) {
                return null;
            }
    
            /**
             * @return boolean
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            CharMappingItem updateItem1 = item1.get();
            updateItem1.setNewInputs(new String[] { "m", "n" });
            updateItem1.setNewOutput("o");
    
            // Create another update for the same item
            CharMappingItem updateItem2 = new CharMappingItem(1L, new String[] { "x", "y" }, "z");
            updateItem2.setNewInputs(new String[] { "p", "q" });
            updateItem2.setNewOutput("r");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    func (b byResourceUID) Less(i, j int) bool {
    	toUniqLock := func(entry madmin.LockEntry) string {
    		return fmt.Sprintf("%s/%s", entry.Resource, entry.ID)
    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := range 4 {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
Back to top