Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 964 for setI (0.04 sec)

  1. src/main/java/org/codelibs/core/misc/Pair.java

            this.second = second;
        }
    
        /**
         * Returns the first value.
         *
         * @return The first value
         */
        public T1 getFirst() {
            return first;
        }
    
        /**
         * Sets the first value.
         *
         * @param first
         *            The first value
         */
        public void setFirst(final T1 first) {
            this.first = first;
        }
    
        /**
         * Returns the second value.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/MessageTest.java

            assertNull(message.getRawPayload(), "rawPayload should be null initially");
    
            // Set a new payload and verify
            byte[] payload1 = "test_payload_1".getBytes();
            message.setRawPayload(payload1);
            assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload");
    
            // Set another payload and verify
            byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
            final int testData = 1234567890;
            FieldUtil.set(field, this, Integer.valueOf(testData));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Then
            // Verify that the 'sam' field is set correctly
            assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray.");
    
            // Verify that the 'ptype' field is set to 0
            assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0.");
    
            // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertFalse(request.isSigningEnforced());
            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertEquals(4, result);
    
            // Access private field to verify length was set
            Field lengthField = response.getClass().getSuperclass().getSuperclass().getSuperclass().getDeclaredField("length");
            lengthField.setAccessible(true);
            int actualLength = (int) lengthField.get(response);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         *
         * @return A <code>byte[]</code> containing the LanManager response.
         */
        public byte[] getLMResponse() {
            return lmResponse;
        }
    
        /**
         * Sets the LanManager/LMv2 response for this message.
         *
         * @param lmResponse The LanManager response.
         */
        public void setLMResponse(final byte[] lmResponse) {
            this.lmResponse = lmResponse;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            msg.encode(buf);
    
            if (this.securityProvider != null) {
                buf.setIndex(0);
                this.securityProvider.wrap(buf);
            }
            return buf;
        }
    
        /**
         * Sets the DCERPC security provider for authentication and message protection
         * @param securityProvider the security provider to use for DCERPC authentication
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                        "Flags should be set for first and last fragment");
    
                // Verify private fields using reflection
                Field bindingField = DcerpcBind.class.getDeclaredField("binding");
                bindingField.setAccessible(true);
                assertSame(mockBinding, bindingField.get(bindWithParams), "Binding should be set");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
        /**
         * Set the minimum SMB Direct protocol version
         *
         * @param minVersion minimum protocol version
         */
        public void setMinVersion(int minVersion) {
            this.minVersion = minVersion;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top