Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 3,507 for Int (0.02 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                collector.write(b);
            }
    
            @Override
            public void write(final byte[] b, final int off, final int len) throws IOException {
                stream.write(b, off, len);
                collector.write(b, off, len);
            }
    
            @Override
            public void write(final int b) throws IOException {
                stream.write(b);
                collector.write(b);
            }
    
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        private final int searchAttributes;
        private final int flags;
        private final int informationLevel;
        private final int searchStorageType = 0;
        private final String wildcard;
    
        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbException.java

         */
        public static String getMessageByCode(final int errcode) {
            String message = errorCodeMessages.get(errcode);
            if (message == null) {
                message = "0x" + Hexdump.toHexString(errcode, 8);
            }
            return message;
        }
    
        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt

      override fun createSocket(
        host: String,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: String,
        port: Int,
        localHost: InetAddress,
        localPort: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: InetAddress,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ConfigTest.java

            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
            assertEquals(123, Config.getInt(testProperties, "test.int"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Mocked consumer receives correct NTSTATUS value")
        void testConsumerInteraction() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
    
            interface NtStatusConsumer {
                void consume(int ntStatus);
            }
            NtStatusConsumer mock = mock(NtStatusConsumer.class);
            findNtStatus(dosErr).ifPresent(mock::consume);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacSignature.java

         */
        public static final int ETYPE_ARCFOUR_HMAC = 23;
        /**
         * Kerberos encryption type for AES-128 CTS mode with HMAC-SHA1-96.
         */
        public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 = 17;
        /**
         * Kerberos encryption type for AES-256 CTS mode with HMAC-SHA1-96.
         */
        public static final int ETYPE_AES256_CTS_HMAC_SHA1_96 = 18;
    
        private int type;
        private byte[] checksum;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        @Test
        void readRDataWireFormat_shouldHandleMultipleNames() throws Exception {
            // Test with maximum reasonable number of names
            int numNames = 10;
            int dataLength = 1 + (18 * numNames) + 6 + 6;
            byte[] src = new byte[dataLength];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
            rDataLengthField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    		return -1
    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top