Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 919 for buffered (0.7 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            for (int i = 8; i < 16; i++) {
                buffer[i] = (byte) (i * 2);
            }
    
            // Mock number of links (4 bytes)
            buffer[16] = 0x01;
            buffer[17] = 0x00;
            buffer[18] = 0x00;
            buffer[19] = 0x00;
    
            // Mock delete pending and directory flags
            buffer[20] = 0x00;
            buffer[21] = 0x00;
    
            return buffer;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals((byte) 0xEF, buffer[0]); // Little-endian
            assertEquals((byte) 0xCD, buffer[1]);
            assertEquals((byte) 0xAB, buffer[2]);
            assertEquals((byte) 0x89, buffer[3]);
            assertEquals((byte) 0x67, buffer[4]);
            assertEquals((byte) 0x45, buffer[5]);
            assertEquals((byte) 0x23, buffer[6]);
            assertEquals((byte) 0x01, buffer[7]);
    
            ndrBuffer.setIndex(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
       * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                byte[] buffer = new byte[24];
                buffer[4] = 0x04; // sectPerAlloc = 4
                buffer[8] = 0x00;
                buffer[9] = 0x20; // alloc = 8192
                buffer[16] = 0x00;
                buffer[17] = 0x04; // bytesPerSect = 1024
    
                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // For GCM, last 4 bytes should contain incrementing counter
            ByteBuffer buffer1 = ByteBuffer.wrap(nonce1, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN);
            ByteBuffer buffer2 = ByteBuffer.wrap(nonce2, 12, 4).order(java.nio.ByteOrder.LITTLE_ENDIAN);
            int counter1 = buffer1.getInt();
            int counter2 = buffer2.getInt();
    
            assertEquals(counter1 + 1, counter2, "Counter should increment between nonces");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            buffer[offset + 2] = 0x00;
            buffer[offset + 3] = 0x00;
            buffer[offset + 4] = 0x00;
            buffer[offset + 5] = 0x00;
            buffer[offset + 6] = 0x00;
            buffer[offset + 7] = 0x01;
            // Sub-authority
            SMBUtil.writeInt4(0, buffer, offset + 8);
        }
    
        private void prepareDaclHeader(byte[] buffer, int offset, int aceCount) {
            buffer[offset] = 0x02; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. cmd/erasure-decode.go

    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        }
    
        /**
         * Data transfer object representing JVM buffer pool statistics.
         */
        public static class JvmPoolObj {
            /**
             * Default constructor.
             */
            public JvmPoolObj() {
                // Default constructor
            }
    
            /** Buffer pool name */
            public String key;
            /** Number of buffers */
            public long count;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/Pac.java

                        }
                    }
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed PAC", e);
            }
    
            if (this.serverSignature == null || this.kdcSignature == null || this.logonInfo == null) {
                throw new PACDecodingException("Missing required buffers");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top