Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,365 for Read (0.02 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            }
    
            // Read partial content
            try (InputStream in = file.getInputStream()) {
                byte[] buffer = new byte[10];
                int bytesRead = in.read(buffer);
                assertEquals(10, bytesRead, "Should read requested bytes");
                assertEquals("0123456789", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read next chunk
                bytesRead = in.read(buffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. .github/workflows/labeler.yml

    on:
      pull_request_target:
        types:
          - opened
          - synchronize
          - reopened
          # For label-checker
          - labeled
          - unlabeled
    
    jobs:
      labeler:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
        - uses: actions/labeler@v5
          if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }}
        - run: echo "Done adding labels"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Oct 07 20:11:20 UTC 2024
    - 828 bytes
    - Viewed (1)
  3. .github/PULL_REQUEST_TEMPLATE.md

    https://git.k8s.io/community/contributors/devel/sig-release/release.md#issuepr-kind-label
    3. Ensure you have added or ran the appropriate tests for your PR: https://git.k8s.io/community/contributors/devel/sig-testing/testing.md
    4. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Jun 06 14:40:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                  request: UrlRequest,
                  info: UrlResponseInfo,
                ) {
                  println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                  request.read(ByteBuffer.allocateDirect(4096 * 8))
                }
    
                override fun onReadCompleted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  byteBuffer: ByteBuffer,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Read GUID components in little-endian order
            int data1 = bb.getInt(); // first 4 bytes (little-endian)
            short data2 = bb.getShort(); // next 2 bytes (little-endian)
            short data3 = bb.getShort(); // next 2 bytes (little-endian)
    
            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            }
        }
    
        /**
         * Verify that read methods and writeBytesWireFormat return 0,
         * while writeParameterWordsWireFormat returns 6 (the number of bytes written).
         */
        @Test
        @DisplayName("happy: read/write methods return expected values")
        void testReadWriteMethodsReturnValues() {
            SmbComClose close = new SmbComClose(10, 5000L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] buffer = new byte[256];
            int read = trans2QueryFSInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns 0")
        void testReadParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns 0")
        void testReadParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Ticker.java

    @GwtCompatible
    public abstract class Ticker {
      /** Constructor for use by subclasses. */
      protected Ticker() {}
    
      /** Returns the number of nanoseconds elapsed since this ticker's fixed point of reference. */
      public abstract long read();
    
      /**
       * A ticker that reads the current time using {@link System#nanoTime}.
       *
       * @since 10.0
       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

                    Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> {
                        // Mock the read method to return simple content
                        byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes();
                        int[] index = { 0 };
                        when(mock.read()).thenAnswer(inv -> {
                            if (index[0] < includeContent.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top