Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 111 for 000000001 (0.03 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertEquals(16, bytesRead);
            assertEquals(wireData.length, bytesRead);
            assertEquals((byte) 0x01, response.getShareType());
            assertEquals(0x00000001, response.getShareFlags());
            assertEquals(0x00000008, response.getCapabilities());
            assertEquals(0x001F01FF, response.getMaximalAccess());
        }
    
        @Test
        @DisplayName("Should not modify buffer during write operation")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
            SMBUtil.writeInt8(1L, header, 24);
            return header;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        private static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
        private static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x00000002;
        private static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x00000004;
        private static final int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
        private static final int FILE_NOTIFY_CHANGE_LAST_WRITE = 0x00000010;
        private static final int FILE_NOTIFY_CHANGE_LAST_ACCESS = 0x00000020;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SmbConstants.java

         */
        int FILE_READ_DATA = 0x00000001; // 1
        /**
         * Permission to write data to the file.
         */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
        int FILE_READ_EA = 0x00000008; // 4
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/archive/tar/strconv.go

    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    	// Initialize an array with '0's to handle right padding automatically.
    	nanoDigits := [maxNanoSecondDigits]byte{'0', '0', '0', '0', '0', '0', '0', '0', '0'}
    	for i := range len(sn) {
    		switch c := sn[i]; {
    		case c < '0' || c > '9':
    			return time.Time{}, ErrHeader
    		case i < len(nanoDigits):
    			nanoDigits[i] = c
    		}
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
        static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010;
        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

                    // NetApp doesn't like the 'generic' access mask values
                    try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, null, 0x00000001)) {
                        rpc = new MsrpcQueryInformationPolicy(policyHandle, (short) lsarpc.POLICY_INFO_ACCOUNT_DOMAIN, info);
                        handle.sendrecv(rpc);
                        if (rpc.retval != 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              }
            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: Long,
          ) {
            // [1950-01-01T00:00:00..2050-01-01T00:00:00Z)
            if (value in -631_152_000_000L until 2_524_608_000_000L) {
              Adapters.UTC_TIME.toDer(writer, value)
            } else {
              Adapters.GENERALIZED_TIME.toDer(writer, value)
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            format.formatRate(builder, 1000.0);
            assertEquals("1.0 kB/s", builder.build());
    
            // Test rate at exactly 1000000 (1 MB/s)
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 1000000.0);
            assertEquals("1.0 MB/s", builder.build());
        }
    
        @Test
        void testFormatRateLargeValues() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

              when {
                b == 0x80 -> {
                  // 10000000
                  throw IOException("index == 0")
                }
    
                b and 0x80 == 0x80 -> {
                  // 1NNNNNNN
                  val index = readInt(b, PREFIX_7_BITS)
                  readIndexedHeader(index - 1)
                }
    
                b == 0x40 -> {
                  // 01000000
                  readLiteralHeaderWithIncrementalIndexingNewName()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top