Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,549 for emptify (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        @Test
        @DisplayName("Should handle empty file ID")
        void testSetEmptyFileId() {
            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(emptyFileId);
    
            // Then - should accept empty file ID
            assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment
        }
    
        /**
         * Test writeBytesWireFormat with empty file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with empty file names")
        public void testWriteBytesWireFormatEmptyFileNames() {
            // Given
            byte[] dst = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertEquals(action, notifyInfo.getAction());
            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode with empty buffer returns 0")
        void testDecodeEmptyBuffer() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[0];
    
            int bytesRead = notifyInfo.decode(buffer, 0, 0);
    
            assertEquals(0, bytesRead);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    
            assertNotNull(packet);
            // The packet should have calledName and callingName initialized but empty
            byte[] dst = new byte[256];
            int written = packet.writeTrailerWireFormat(dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

                rpcUuid.clock_seq_low = CLOCK_SEQ_LOW;
                rpcUuid.node = new byte[6]; // Empty node array
    
                // Act
                UUID uuid = new UUID(rpcUuid);
    
                // Assert
                assertNotNull(uuid.node);
                assertEquals(6, uuid.node.length);
                assertArrayEquals(new byte[6], uuid.node, "Empty node array should be copied");
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Creates a Role entity from the provided form data.
         *
         * @param form the form containing the role data
         * @return optional entity containing the role data, or empty if creation fails
         */
        public static OptionalEntity<Role> getRole(final CreateForm form) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

    import java.util.Set;
    
    /**
     * GWT emulation of {@link RegularImmutableSet}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
      RegularImmutableSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

      @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (1)
  9. internal/auth/credentials_test.go

    	}
    	testCases := []struct {
    		cred           Credentials
    		ccred          Credentials
    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. internal/bucket/encryption/bucket-sse-config.go

    			}
    		}
    	}
    
    	if config.XMLNS == "" {
    		config.XMLNS = xmlNS
    	}
    	return &config, nil
    }
    
    // ApplyOptions ask for specific features to be enabled,
    // when bucketSSEConfig is empty.
    type ApplyOptions struct {
    	AutoEncrypt bool
    }
    
    // Apply applies the SSE bucket configuration on the given HTTP headers and
    // sets the specified SSE headers.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top