Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 288 for 0x04 (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.sid = sid;
            this.resumeKey = resumeKey;
            this.filename = filename;
            this.informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO;
            this.tflags = 0x00;
            this.maxParameterCount = 8;
            this.maxItems = batchCount;
            this.maxDataCount = batchSize;
            this.maxSetupCount = 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertTrue(str.contains("name=test.txt"), "The file name should appear");
            // securityFlags are set to 0x03 – verify hex sequence
            assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present");
        }
    
        /**
         * Fetch a private field value via reflection.  This helper keeps the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA close handle message.
         */
        public static class LsarClose extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
                    ip = i = 0;
                    for (; i < data.length && c == '.'; i++) {
                        int b = 0x00;
    
                        for (; i < data.length && (c = data[i]) >= 48 && c <= 57; i++) {
                            b = b * 10 + c - '0';
                        }
                        ip = (ip << 8) + b;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                sid = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
            }
            numEntries = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            eaErrorOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            lastNameOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

         */
        public static final int FSCTL_QUERY_NETWORK_INTERFACE_INFO = 0x001401FC;
    
        /**
         * SMB2 session flag indicating channel binding
         */
        public static final int SMB2_SESSION_FLAG_BINDING = 0x01;
    
        /**
         * Size of network interface info structure in bytes
         */
        public static final int NETWORK_INTERFACE_INFO_SIZE = 152;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertNotNull(trans);
            assertEquals(0, trans.maxParameterCount);
            assertEquals(0xFFFF, trans.maxDataCount);
            assertEquals(0x00, trans.maxSetupCount);
            assertEquals(2, trans.setupCount);
            assertEquals("\\PIPE\\", trans.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct data")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          deflatedBytes.readAndWriteUnsafe().use { cursor ->
            cursor.resizeBuffer(newSize)
          }
        } else {
          // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes.
          deflatedBytes.writeByte(0x00)
        }
    
        buffer.write(deflatedBytes, deflatedBytes.size)
      }
    
      @Throws(IOException::class)
      override fun close() = deflaterSink.close()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length);
                bufferWithTermination[stringBytes.length] = 0x00;
                bufferWithTermination[stringBytes.length + 1] = 0x00;
    
                // When
                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top