Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,620 for emptify (0.15 seconds)

  1. src/test/java/jcifs/smb/SSPContextTest.java

            void testMechanismEdges() {
                DummySSPContext empty = new DummySSPContext(new byte[] { 1 }, false, "", new ASN1ObjectIdentifier[0], 0, false);
                assertFalse(empty.isSupported(new ASN1ObjectIdentifier("1.2.3")));
                assertFalse(empty.isPreferredMech(new ASN1ObjectIdentifier("1.2.3")));
                assertFalse(empty.isPreferredMech(null));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        //                                  --------------------
        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
         * @param inData
         *            The data to encode
         * @return The encoded data, or an empty string if the input is null or empty
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            return Base64.getEncoder().encodeToString(inData);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
                return Optional.empty();
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("a,b,c,d,e,f", result);
        }
    
        @Test
        @DisplayName("Should handle empty array")
        void testJoinEmptyArray() {
            CharSequence[] empty = new CharSequence[0];
            String result = StringUtil.join(",", empty);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null in middle of multiple elements")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         * If the virtual host is blank or null, returns an empty string.
         *
         * @param entity the RelatedQuery entity to extract the host key from
         * @return the virtual host key, or empty string if blank or null
         */
        protected String getHostKey(final RelatedQuery entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      private static final Map<Integer, Integer> EMPTY = emptyMap();
      private static final Map<Integer, Integer> SINGLETON = singletonMap(1, 2);
    
      public void testMapDifferenceEmptyEmpty() {
        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
Back to Top