Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,117 for fill (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        void testDecodeValidResumeKey() throws SMBProtocolDecodingException {
            // Prepare test data - 24 bytes for resume key + 4 bytes for context length
            byte[] buffer = new byte[28];
    
            // Fill resume key with test pattern
            for (int i = 0; i < 24; i++) {
                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/FEATURE.yml

    #
    #  Licensed to the Apache Software Foundation (ASF) under one or more
    #  contributor license agreements.  See the NOTICE file distributed with
    #  this work for additional information regarding copyright ownership.
    #  The ASF licenses this file to You under the Apache License, Version 2.0
    #  (the "License"); you may not use this file except in compliance with
    #  the License.  You may obtain a copy of the License at
    #
    #       http://www.apache.org/licenses/LICENSE-2.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EncodableTest.java

            Encodable enc = new ByteEncodable(src, off, len);
    
            // Destination has guard space to verify non-overwritten regions.
            byte[] dst = new byte[dstIndex + len + 5];
            Arrays.fill(dst, (byte) 0x55);
    
            // Act
            int written = enc.encode(dst, dstIndex);
    
            // Assert: reported written bytes matches size() and requested len.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

         */
        private static byte[] newBuffer(int length) {
            // initialise with distinct pattern to detect unused trailing bytes
            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            // Test with various data sizes within buffer limit
            byte[] testData = new byte[dataSize];
            Arrays.fill(testData, (byte) 0xAB);
            byte[] buffer = new byte[dataSize + 100];
            System.arraycopy(testData, 0, buffer, 20, dataSize);
    
            int result = response.readDataWireFormat(buffer, 20, dataSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/BUG.yml

    #
    #  Licensed to the Apache Software Foundation (ASF) under one or more
    #  contributor license agreements.  See the NOTICE file distributed with
    #  this work for additional information regarding copyright ownership.
    #  The ASF licenses this file to You under the Apache License, Version 2.0
    #  (the "License"); you may not use this file except in compliance with
    #  the License.  You may obtain a copy of the License at
    #
    #       http://www.apache.org/licenses/LICENSE-2.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

                byte[] dgst = md.digest(data);
                mac.reset();
                mac.init(new SecretKeySpec(dk, HMAC_KEY));
                return mac.doFinal(dgst);
            } finally {
                Arrays.fill(dk, 0, dk.length, (byte) 0);
            }
        }
    
        private static int mapArcfourMD5KeyUsage(int keyusage) {
            int ms_usage = keyusage;
            switch (ms_usage) {
            case 3:
                ms_usage = 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/BufferCacheImpl.java

        @Override
        public void releaseBuffer(final byte[] buf) {
            if (buf == null) {
                return;
            }
            // better safe than sorry: prevent leaks if there is some out of bound access
            Arrays.fill(buf, (byte) 0);
            synchronized (this.cache) {
                if (this.freeBuffers < this.cache.length) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    <!---
     Licensed to the Apache Software Foundation (ASF) under one or more
     contributor license agreements.  See the NOTICE file distributed with
     this work for additional information regarding copyright ownership.
     The ASF licenses this file to You under the Apache License, Version 2.0
     (the "License"); you may not use this file except in compliance with
     the License.  You may obtain a copy of the License at
    
          http://www.apache.org/licenses/LICENSE-2.0
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 09:55:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top