Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,917 for EMPTY (0.02 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        @Test
        void testConstructorWithEmptyToken() {
            // Test that PACDecodingException is thrown for an empty token
            byte[] emptyToken = new byte[0];
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(emptyToken, (byte) 0, keys));
            assertEquals("Empty kerberos ticket", e.getMessage());
        }
    
        @Test
        void testConstructorWithMalformedToken() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CollectSpliterators.java

       * generated by applying {@code function} to the elements of {@code fromSpliterator}. (If {@code
       * function} returns {@code null} for an input, it is replaced with an empty stream.)
       */
      static <InElementT extends @Nullable Object> Spliterator.OfInt flatMapToInt(
          Spliterator<InElementT> fromSpliterator,
          Function<? super InElementT, Spliterator.@Nullable OfInt> function,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            String storedFileName = (String) fileNameField.get(request);
            assertEquals(testFileName, storedFileName);
        }
    
        @Test
        @DisplayName("Constructor with fileId only should use empty fileName")
        void testConstructorWithFileIdOnly() throws Exception {
            Smb2CloseRequest requestWithFileIdOnly = new Smb2CloseRequest(mockConfig, testFileId);
    
            // Verify file ID is set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is empty or invalid: " + uriType.protocolType());
            };
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            if (StringUtil.isNotBlank(value)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableList.java

     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableList<E> extends ImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0]);
    
      @VisibleForTesting final transient Object[] array;
    
      RegularImmutableList(Object[] array) {
        this.array = array;
      }
    
      @Override
      public int size() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

    public class CollectionClearTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * Scary constructor for ContiguousSet. This constructor (in this file, the GWT emulation of
       * ImmutableSortedSet) creates an empty sortedDelegate, which, in a vacuum, sets this object's
       * contents to empty. By contrast, the non-GWT constructor with the same signature uses the
       * comparator only as a comparator. It does NOT assume empty contents. (It requires an
       * implementation of iterator() to define its contents, and methods like contains() are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(0, getFieldValue(netServerEnum2, "setupCount"));
            assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
        }
    
        @Test
        @DisplayName("Test constructor with empty domain")
        void testConstructorEmptyDomain() {
            String domain = "";
            int serverTypes = NetServerEnum2.SV_TYPE_DOMAIN_ENUM;
    
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    		//	// comment
    		//	INST args [// printed form] [// hex encoding]
    		parts := strings.Split(line, "//")
    		printed := strings.TrimSpace(parts[0])
    		if printed == "" || strings.HasSuffix(printed, ":") { // empty or label
    			continue
    		}
    		seq++
    
    		var hexes string
    		switch len(parts) {
    		default:
    			t.Errorf("%s:%d: unable to understand comments: %s", input, lineno, line)
    		case 1:
    			// no comment
    		case 2:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 12.6K bytes
    - Click Count (0)
Back to Top