Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 4,666 for int (0.02 seconds)

  1. src/main/java/jcifs/internal/util/SMBUtil.java

         * @return the time value in milliseconds since January 1, 1970 UTC
         */
        public static long readTime(final byte[] src, final int srcIndex) {
            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            int result = response.writeDataWireFormat(dst, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
            byte[] buffer = new byte[100];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const A //deprecated
    pkg p1, const A = 1
    pkg p1, const A ideal-int
    pkg p1, const A64 = 1
    pkg p1, const A64 int64
    pkg p1, const AIsLowerA = 11
    pkg p1, const AIsLowerA ideal-int
    pkg p1, const B0 = 2
    pkg p1, const B0 ideal-int
    pkg p1, const ConstChase2 = 11
    pkg p1, const ConstChase2 ideal-int
    pkg p1, const ConversionConst = 5
    pkg p1, const ConversionConst MyInt
    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 24 16:04:17 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testNegativeSidWrapsCorrectly() {
            // -1 == 0xFFFF
            int negativeSid = -1;
            SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid);
            byte[] dst = new byte[2];
            int written = neg.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            int[] array = new int[random.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(stream(array));
          }
        },
        ADD_IIA {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            int[] array = new int[random.nextInt(10)];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

              streamId: Int,
              streamDependency: Int,
              weight: Int,
              exclusive: Boolean,
            ) {
              assertThat(streamDependency).isEqualTo(0)
              assertThat(weight).isEqualTo(256)
              assertThat(exclusive).isFalse()
            }
    
            override fun headers(
              inFinished: Boolean,
              streamId: Int,
              associatedStreamId: Int,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        void testSearchAttributesMasking(int searchAttributes) {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);
    
            // Verify attributes are masked with 0x37
            int expectedAttributes = searchAttributes & 0x37;
    
            // Write parameters to verify the masked value is used
            byte[] buffer = new byte[100];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ACETest.java

                        ACE.GENERIC_READ };
    
                int[] flagConstants = { ACE.FLAGS_OBJECT_INHERIT, ACE.FLAGS_CONTAINER_INHERIT, ACE.FLAGS_NO_PROPAGATE, ACE.FLAGS_INHERIT_ONLY,
                        ACE.FLAGS_INHERITED };
    
                // Check access constants are unique
                for (int i = 0; i < accessConstants.length; i++) {
                    for (int j = i + 1; j < accessConstants.length; j++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

        public static final int CHANNEL_BINDING_PREFERRED = 1;
        public static final int CHANNEL_BINDING_REQUIRED = 2;
        
        // Maximum channels per session
        public static final int DEFAULT_MAX_CHANNELS = 4;
        public static final int ABSOLUTE_MAX_CHANNELS = 32;
    }
    ```
    
    ## 4. Data Structures
    
    ### 4.1 Network Interface Information
    ```java
    package jcifs.internal.smb2.multichannel;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

        SessionRetargetResponsePacket() {
            type = SESSION_RETARGET_RESPONSE;
            length = 6;
        }
    
        @Override
        int writeTrailerWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top