Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 344 for 0xff (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            for (int i = 0; i < 4; i++) {
                dst[dstIndex++] = (byte) 0xFF;
            }
            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertTrue(str.contains("errorCode=0"));
            assertTrue(str.contains("mid=1"));
        }
    
        @Test
        void testToStringUnknownCommand() {
            smb.command = (byte) 0xFF; // Unknown command
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=UNKNOWN"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Manually verify the encoded bytes
                assertEquals(buffer.size(), bytesEncoded);
    
                // Check referral level (little-endian)
                assertEquals(4, dst[0] & 0xFF);
                assertEquals(0, dst[1] & 0xFF);
    
                // Check path starts at byte 2
                byte[] expectedPathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] actualPathBytes = new byte[expectedPathBytes.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            byte[] buffer = new byte[512];
            // Fill buffer with non-zero values to ensure padding writes zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) 0xFF;
            }
    
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 4;
            this.eaSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            final int shortNameLength = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
    
            this.shortName = Strings.fromUNIBytes(buffer, bufferIndex, shortNameLength);
            bufferIndex += 24;
    
            String str;
            if (this.unicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/UUID.java

            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            void testSetWriteFlags() {
                assertDoesNotThrow(() -> request.setWriteFlags(0));
                assertDoesNotThrow(() -> request.setWriteFlags(0x01));
                assertDoesNotThrow(() -> request.setWriteFlags(0xFF));
                assertDoesNotThrow(() -> request.setWriteFlags(Integer.MAX_VALUE));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offset values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/armerror.s

    	MOVB	[R0-R4], (R1)      // ERROR "illegal combination"
    	MOVH	(R1), [R0-R4]      // ERROR "illegal combination"
    	MOVH	[R0-R4], (R1)      // ERROR "illegal combination"
    	MOVB	$0xff(R0), R1      // ERROR "illegal combination"
    	MOVH	$0xff(R0), R1      // ERROR "illegal combination"
    	MOVB	$errors(SB), R2    // ERROR "illegal combination"
    	MOVH	$errors(SB), R2    // ERROR "illegal combination"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        }
        return headerEntries(*nameValues)
      }
    
      private fun writeMedium(
        sink: BufferedSink,
        i: Int,
      ) {
        sink.writeByte(i ushr 16 and 0xff)
        sink.writeByte(i ushr 8 and 0xff)
        sink.writeByte(i and 0xff)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top