Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 208 for printr (2.48 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            if (e == null) {
                e = new Entry(this.referent++, obj);
                this.referents.put(obj, e);
            }
    
            return e.referent;
        }
    
        /**
         * Encodes an NDR referent pointer.
         *
         * @param obj the object to encode as a referent
         * @param type the referent type
         */
        public void enc_ndr_referent(final Object obj, final int type) {
            if (obj == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
    
            // Verify tree flags (0)
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2));
    
            // Verify path offset (points to after the 8-byte structure)
            int expectedPathOffset = bodyOffset + 8 - headerStart;
            assertEquals(expectedPathOffset, SMBUtil.readInt2(buffer, bodyOffset + 4));
    
            // Verify path length
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
                }
                fail("Should not reach this point");
            } catch (IOException e) {
                assertEquals("Resource is null", e.getMessage());
                // No NullPointerException should be thrown when exiting try-with-resources
            }
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                when(mockTree.send(any(Request.class), any(RequestParam.class))).thenAnswer(inv -> (CommonServerMessageBlockResponse) smb2Resp);
    
                byte[] buf = new byte[16];
    
                // Skip advances internal file pointer; next read should use this offset
                in.skip(2);
    
                // Act
                int n = in.readDirect(buf, 0, 5);
    
                // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Prepare test data with minimal valid resource record
            byte[] src = new byte[100];
            int srcIndex = 10;
    
            // Set up a minimal resource record response
            // Name pointer (0xC00C)
            src[srcIndex] = (byte) 0xC0;
            src[srcIndex + 1] = 0x0C;
            // Record type (NBSTAT = 0x0021)
            src[srcIndex + 2] = 0x00;
            src[srcIndex + 3] = 0x21;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0, (int) (short) 0);
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // Null referent pointer
    
                // When: Decoding the unicode string
                unicodeString.decode(mockNdrBuffer);
    
                // Then: Verify the decoding sequence and values
                verify(mockNdrBuffer).align(4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                if (ncpos < 0 || ncpos >= buffer.length) {
                    throw new SMBProtocolDecodingException(
                            "Negotiate context offset points beyond buffer (offset: " + ncpos + ", buffer size: " + buffer.length + ")");
                }
    
                final NegotiateContextResponse[] contexts = new NegotiateContextResponse[negotiateContextCount];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
            // Reset MID to a known starting point for deterministic behavior
            setField(transport, "mid", new AtomicLong());
        }
    
        // Utility: reflectively set a private/protected field (searches up the hierarchy)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            assertEquals(expectedIndexNumber, info2.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test encode with initial state")
        void testEncodeWithInitialState() {
            // Test encode without prior decode (initial state with indexNumber = 0)
            byte[] destinationBuffer = new byte[8];
            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0);
    
            // Verify
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. LICENSE

          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright [yyyy] [name of copyright owner]
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Apr 18 13:54:00 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top