Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 673 for Valid (0.03 sec)

  1. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

        }
    
        /**
         * Validates that the heartbeat response is correct.
         * The response sequence number should match the request sequence number.
         *
         * @return true if the response is valid
         */
        public boolean isValidResponse() {
            return isSuccess() && responseSequenceNumber == sequenceNumber;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/DosError.java

                "The parameter is incorrect.", "Too many Uids active on this session.",
                "The Uid is not known as a valid user identifier on this session.", "The pipe has been ended.",
                "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. cmd/update-notifier_test.go

    		case output == "" && testCase.dlURL != "" && testCase.older > 0:
    			t.Errorf("Testcase %d: newer release is available but got empty update message!", i+1)
    		case output == "" && (testCase.dlURL == "" || testCase.older <= 0):
    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    func isValidURLEndpoint(u *url.URL) bool {
    	// URL style of endpoint.
    	// Valid URL style endpoint is
    	// - Scheme field must contain "http" or "https"
    	// - All field should be empty except Host and Path.
    	isURLOk := (u.Scheme == "http" || u.Scheme == "https") &&
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Assert
            assertEquals(445, port);
            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act & Assert - constructor should not throw
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(systemName, accessMask, ph));
            }
    
            @Test
            @DisplayName("should create instance with valid parameters")
            void testConstructorCreatesInstance() {
                // Arrange
                String systemName = "\\\\server";
                int accessMask = 0x000F0000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
        static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() {
            return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    **2. Valid?**
    
    -   If the PR passes all the quality checks then we go ahead and assign a
        reviewer.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Jan 11 04:47:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmSspTest.java

        // Base64 encoded Type 3 message: NTLMSSP, Type 3
        // User: "user", Domain: "DOMAIN", Workstation: "WORKSTATION"
        // This is a valid Type 3 message with proper structure
        private final String type3MessageBase64 = createValidType3Message();
    
        /**
         * Creates a valid Type 3 NTLM message for testing
         */
        private static String createValidType3Message() {
            // Build a properly formatted Type 3 message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    			return osErrToFileErr(err)
    		}
    	}
    	defer syscall.Close(fd)
    
    	bufp := direntPool.Get()
    	defer direntPool.Put(bufp)
    	buf := *bufp
    
    	boff := 0 // starting read position in buf
    	nbuf := 0 // end valid data in buf
    
    	for {
    		if boff >= nbuf {
    			boff = 0
    			stop := globalOSMetrics.time(osMetricReadDirent)
    			nbuf, err = syscall.ReadDirent(fd, buf)
    			stop()
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top