Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for addUrl (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         * @return true if the URL was successfully added to favorites, false if the user was not found
         */
        public boolean addUrl(final String userCode, final BiConsumer<UserInfo, FavoriteLog> favoriteLogLambda) {
            return userInfoBhv.selectByPK(userCode).map(userInfo -> {
                final FavoriteLog favoriteLog = new FavoriteLog();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) {
                        final String u = duplicateHostHelper.convert(urlValue);
                        crawler.addUrl(u);
                        if (logger.isInfoEnabled()) {
                            logger.info("Target URL: {}", u);
                        }
                    }
                }));
    
                // set included urls
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                throw new WebApiException(HttpServletResponse.SC_NOT_FOUND, "Not found: " + favoriteUrl);
                            }
    
                            if (!favoriteLogService.addUrl(userCode, (userInfo, favoriteLog) -> {
                                favoriteLog.setUserInfoId(userInfo.getId());
                                favoriteLog.setUrl(favoriteUrl);
                                favoriteLog.setDocId(docId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                final boolean forceSigning) throws IOException {
    
            final Address[] addrs = tf.getNameServiceClient().getAllByName(name, true);
    
            if (addrs == null || addrs.length == 0) {
                throw new UnknownHostException(name);
            }
    
            Arrays.sort(addrs, (o1, o2) -> {
                Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
            // Set fail counts (addr1 has more failures, addr2 has fewer)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            WitnessNotification.WitnessIPAddress addr4 = new WitnessNotification.WitnessIPAddress(ipv4);
            WitnessNotification.WitnessIPAddress addr6 = new WitnessNotification.WitnessIPAddress(ipv6);
    
            // IPv4 tests
            assertTrue(addr4.isIPv4());
            assertFalse(addr4.isIPv6());
            assertEquals(WitnessNotification.WitnessIPAddress.IPV4, addr4.getFlags());
    
            // IPv6 tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

            Object addr;
            int i;
    
            if (hostname == null || hostname.length() == 0) {
                throw new UnknownHostException();
            }
    
            if (isDotQuadIP(hostname)) {
                final UniAddress[] addrs = new UniAddress[1];
                addrs[0] = new UniAddress(NbtAddress.getByName(hostname));
                return addrs;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            } else if (calledName == SMBSERVER_NAME) {
                NbtAddress[] addrs;
    
                try {
                    addrs = CLIENT.getNodeStatus(this);
                    if (hostName.hexCode == 0x1D) {
                        for (final NbtAddress addr : addrs) {
                            if (addr.hostName.hexCode == 0x20) {
                                return addr.hostName.name;
                            }
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            try {
                final NbtAddress[] addrs = getNodeStatus(addr);
                cacheAddressArray(addrs);
                return addrs;
            } catch (final UnknownHostException uhe) {
                throw new UnknownHostException("no name with type 0x" + Hexdump.toHexString(addr.getNameType(), 2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            InetAddress addr1 = InetAddress.getByName("192.168.1.100");
            InetAddress addr2 = InetAddress.getByName("192.168.1.101");
            NetworkInterfaceInfo local = new NetworkInterfaceInfo(addr1, 1000);
            NetworkInterfaceInfo remote1 = new NetworkInterfaceInfo(addr1, 1000);
            NetworkInterfaceInfo remote2 = new NetworkInterfaceInfo(addr2, 10000); // Faster interface
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top