Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 332 for muss (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

         * securityBufferOffset is set relative to header start.
         */
        private void buildSessionSetupBody(byte[] buf, int headerStart, int bodyStart, int sessionFlags, int secBufOffset, byte[] blob) {
            // StructureSize (must be 9)
            SMBUtil.writeInt2(9, buf, bodyStart);
            // SessionFlags at +2
            SMBUtil.writeInt2(sessionFlags, buf, bodyStart + 2);
            // SecurityBufferOffset (+4) and Length (+6)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlRequestTest.java

            try {
                new CurlRequest(null, url);
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("method must not be null"));
            }
        }
    
        @Test
        public void testSingleArgumentConstructor() {
            CurlRequest request = new CurlRequest(Method.POST);
    
            assertEquals(Method.POST, request.method());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

    class SmbComLogoffAndXTest {
    
        @Test
        @DisplayName("constructor accepts null andx")
        void constructorWithNullAndx() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertNotNull(msg, "Message must not be null after construction");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5, -1, 10 })
        @DisplayName("writeParameterWordsWireFormat always returns 0")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                throw new FessSystemException("Invalid hour value: " + values[0] + " in time: " + time + ". Hour must be between 0 and 23");
            }
            values[1] = Integer.parseInt(froms[1]);
            if (values[1] < 0 || values[1] > 59) {
                throw new FessSystemException("Invalid minute value: " + values[1] + " in time: " + time + ". Minute must be between 0 and 59");
            }
            return values;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                response.readBytesWireFormat(buffer, 0);
            });
    
            assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000"));
            assertTrue(exception.getMessage().contains("must be 0-100"));
        }
    
        /**
         * Test validation of negative negotiate context count.
         */
        @Test
        public void testNegativeNegotiateContextCount() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmAuthenticator.java

            synchronized (a) {
                a.url = url;
                a.sae = sae;
                return a.getNtlmPasswordAuthentication();
            }
        }
    
        /**
         * An application extending this class must provide an implementation for this method that returns new user
         * credentials try try when accessing SMB resources described by the <code>getRequestingURL</code> and
         * <code>getRequestingException</code> methods.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment
    
            // Act
            int actual = req.size();
    
            // Assert
            assertEquals(expected, actual, "size() must be 8-byte aligned");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5 })
        @DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            bb.putInt(0);
    
            // InterfaceIndex (4 bytes)
            bb.putInt(interfaceIndex);
    
            // Capability (4 bytes)
            bb.putInt(capability);
    
            // Reserved (4 bytes) - must be 0
            bb.putInt(0);
    
            // LinkSpeed (8 bytes) - in bits per second
            bb.putLong((long) linkSpeed * 1000000L);
    
            // SockAddr_Storage (128 bytes)
            encodeSockaddr(buffer, 24);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. docs/smb3-features/01-smb3-lease-design.md

            this.key = new byte[16];
            random.nextBytes(this.key);
        }
        
        public Smb2LeaseKey(byte[] key) {
            if (key.length != 16) {
                throw new IllegalArgumentException("Lease key must be 16 bytes");
            }
            this.key = Arrays.copyOf(key, 16);
        }
        
        public byte[] getKey() {
            return Arrays.copyOf(key, 16);
        }
        
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * If file exists, overwrite it. Otherwise create the file
         */
        public static final int FILE_OVERWRITE_IF = 0x5;
    
        /**
         * File being created or opened must be a directory
         */
        public static final int FILE_DIRECTORY_FILE = 0x1;
        /**
         * Write operations go directly to persistent storage
         */
        public static final int FILE_WRITE_THROUGH = 0x2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top