Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,522 for systems (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Trans2 QueryFSInformation request message for querying file system information.
     * This class implements the TRANS2_QUERY_FS_INFORMATION transaction to retrieve
     * various file system attributes such as volume information, size, and capabilities.
     */
    public class Trans2QueryFSInformation extends SmbComTransaction {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Generates a unique registration ID.
         *
         * @return a unique registration identifier
         */
        private String generateRegistrationId() {
            return "REG-" + System.currentTimeMillis() + "-" + Integer.toHexString(System.identityHashCode(this));
        }
    
        /**
         * Gets the next sequence number for this registration.
         *
         * @return the next sequence number
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f);
        try (Response response = call.execute()) {
          System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, response);
        } catch (IOException e) {
          System.out.printf("%.2f Call failed as expected: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, e);
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test system property setting
        public void test_systemPropertySetting() {
            // Test system property configuration
            String originalValue = System.getProperty(FesenClient.HTTP_ADDRESS);
            try {
                System.setProperty(FesenClient.HTTP_ADDRESS, "http://localhost:9200");
                assertEquals("http://localhost:9200", System.getProperty(FesenClient.HTTP_ADDRESS));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void setUpStreams() {
            originalOut = System.out;
            originalErr = System.err;
            outContent = new ByteArrayOutputStream();
            errContent = new ByteArrayOutputStream();
            System.setOut(new PrintStream(outContent));
            System.setErr(new PrintStream(errContent));
        }
    
        @AfterEach
        void restoreStreams() {
            System.setOut(originalOut);
            System.setErr(originalErr);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Create a buffer with null terminator within the max length
                byte[] buffer = new byte[20];
                System.arraycopy("Test".getBytes(), 0, buffer, 0, 4);
                buffer[4] = 0; // null terminator
                System.arraycopy("String".getBytes(), 0, buffer, 5, 6);
    
                String result = testBlock.readString(buffer, 0, buffer.length, 10, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            }
        }
    
        @Test
        void testTimestampConsistency() {
            long beforeCreation = System.currentTimeMillis();
            WitnessNotification newNotification = new WitnessNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
            long afterCreation = System.currentTimeMillis();
    
            assertTrue(newNotification.getTimestamp() >= beforeCreation);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        public void test_getProcessTypeList_crawlerMode() {
            System.setProperty("lasta.env", Constants.EXECUTE_TYPE_CRAWLER);
            try {
                final List<String> ptList = pathMappingHelper.getProcessTypeList();
                assertEquals(1, ptList.size());
                assertEquals(Constants.PROCESS_TYPE_REPLACE, ptList.get(0));
            } finally {
                System.clearProperty("lasta.env");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if (serverLength > 0) {
                writeUShort(targetInfo, offset, 1);
                offset += 2;
                writeUShort(targetInfo, offset, serverLength);
                offset += 2;
                System.arraycopy(server, 0, targetInfo, offset, serverLength);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        @Test
        void testReadDataWireFormatWithValidLength() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] sourceData = { 10, 20, 30, 40, 50 };
            byte[] buffer = new byte[100];
            System.arraycopy(sourceData, 0, buffer, 10, sourceData.length);
    
            // Execute
            int result = response.readDataWireFormat(buffer, 10, sourceData.length);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top