Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for testhost (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
        assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue());
        assertEquals(3, ContiguousSet.create(Range.open(0, 4), integers()).last().intValue());
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
                String host = url.getHost();
                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
                // Validate host format
                if (!isValidHost(host)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testImmutableTable() {
        assertFreshInstance(new TypeToken<ImmutableTable<String, Integer, ImmutableList<String>>>() {});
      }
    
      public void testList() {
        assertFreshInstance(new TypeToken<List<String>>() {});
        assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {});
      }
    
      public void testArrayList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              assertEquals(Ordering.natural().min(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        public void testLast() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.last();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    wildcard = dff.wildcard;
                }
                searchAttributes = dff.attributes;
            }
            final SmbResourceLocator locator = parent.getLocator();
            if (locator.getURL().getHost().isEmpty()) {
                // smb:// -> enumerate servers through browsing
                Address addr;
                try {
                    addr = locator.getAddress();
                } catch (final CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c, sortedMultiset.lastEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
        assertEquals(3, ContiguousSet.create(Range.closed(1, 3), integers()).last().intValue());
        assertEquals(3, ContiguousSet.create(Range.open(0, 4), integers()).last().intValue());
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test read string length without termination throws exception")
            void testReadStringLengthNoTermination() {
                byte[] buffer = "TestTest".getBytes();
    
                assertThrows(RuntimeCIFSException.class, () -> {
                    testBlock.readStringLength(buffer, 0, 3);
                });
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.readLines(temp, UTF_8, collectNonEmptyLines);
        assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world  ").inOrder();
    
        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                    return value;
                }
                return "localhost";
            }
            if (url.startsWith("file:")) {
                return "localhost";
            }
    
            return getHost(url);
        }
    
        /**
         * Get the role types.
         * @param responseData The response data.
         * @return The role types.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top