Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,394 for sysmem (3.62 sec)

  1. docs/smb3-features/03-multi-channel-design.md

                writeInt4(buffer, offset + 4, 0);  // Flow info
                System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16);
                writeInt4(buffer, offset + 24, 0);  // Scope ID
            } else {
                // IPv4 sockaddr_in structure
                writeInt2(buffer, offset, 2);  // AF_INET
                writeInt2(buffer, offset + 2, 445);  // Port
                System.arraycopy(address.getAddress(), 0, buffer, offset + 4, 4);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_FS_SIZE_INFORMATION structure used to query file system size information.
     * This structure provides details about the total allocation units, free allocation units,
     * sectors per allocation unit, and bytes per sector for a file system volume.
     */
    public class FileFsSizeInformation implements AllocInfo {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. docs/features/events.md

    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
          callStartNanos = nowNanos;
        }
        long elapsedNanos = nowNanos - callStartNanos;
        System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name);
      }
    
      @Override public void callStart(Call call) {
        printEvent("callStart");
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            int bufferIndex = 0;
            int start = 0;
    
            // Write server name (16 bytes, null padded)
            byte[] nameBytes = serverName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 15));
            bufferIndex += 16;
    
            // Write version major (1 byte)
            buffer[bufferIndex++] = (byte) versionMajor;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtStatus.java

        String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",
                "Incorrect function.", "The parameter is incorrect.", "Invalid access to memory location.", "The handle is invalid.",
                "The parameter is incorrect.", "The system cannot find the file specified.", "The system cannot find the file specified.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            String fileName = "test.txt";
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
            SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8); // FileNameLength
            System.arraycopy(fileNameBytes, 0, buffer, notifyOffset + 12, fileNameBytes.length);
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, offset);
    
            // Then
            assertTrue(bytesRead > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        static void setupProtocolHandler() {
            // Register the SMB protocol handler
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
            } else if (!pkgs.contains("jcifs.smb1")) {
                System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top