Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for makeSeq (0.07 sec)

  1. src/test/java/jcifs/EncodableTest.java

                    Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0
                    Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index
                    Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end
                    Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle
                    Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index
            );
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    	)
    
    	type (
    		makeReg struct {
    			str  string
    			size int64
    		}
    		makeSparse struct {
    			makeReg makeReg
    			spd     sparseDatas
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{"", 0},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    	)
    
    	type (
    		makeReg struct {
    			size    int64
    			wantStr string
    		}
    		makeSparse struct {
    			makeReg makeReg
    			sph     sparseHoles
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * Creates a key for the specified request for response matching.
         *
         * @param request the request to create a key for
         * @throws IOException if an I/O error occurs
         */
        protected abstract void makeKey(Request request) throws IOException;
    
        /**
         * Reads and returns the key of the next message without consuming it.
         *
         * @return the request key of the next message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/TransportTest.java

            private IOException recvException = null;
            private boolean connectFails = false;
            private boolean disconnectResult = false;
    
            @Override
            protected long makeKey(Request request) throws IOException {
                return nextKey++;
            }
    
            @Override
            protected Long peekKey() throws IOException {
                if (recvException != null) {
    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. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                socket.close();
            } finally {
                digest = null;
                socket = null;
                tconHostName = null;
            }
        }
    
        @Override
        protected void makeKey(final Request request) throws IOException {
            /* The request *is* the key */
            if (++mid == 32000) {
                mid = 1;
            }
            ((ServerMessageBlock) request).mid = mid;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

         *
         * @param request the request to generate a key for
         * @return the generated key
         * @throws IOException if an I/O error occurs
         */
        protected abstract long makeKey(Request request) throws IOException;
    
        /**
         * Peek at the next key without removing it from the input stream
         *
         * @return the next key or null if none available
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

        /**
         * @return
         * @throws IOException
         */
        private int negotiateWrite(final CommonServerMessageBlockRequest req, final boolean setmid) throws IOException {
            if (setmid) {
                makeKey(req);
            } else {
                req.setMid(0);
                this.mid.set(1);
            }
            final int n = req.encode(this.sbuf, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. RELEASE.md

    Meinertz Hansen, Kanit Wongsuphasawat, Kashif Rasul, Ken Shirriff, Kenneth
    Mitchner, Kenta Yonekura, Konrad Magnusson, Konstantin Lopuhin, @lahwran,
    @lekaha, @liyongsea, Lucas Adams, @makseq, Mandeep Singh, @manipopopo, Mark
    Amery, Memo Akten, Michael Heilman, Michael Peteuil, Nathan Daly, Nicolas
    Fauchereau, @ninotoshi, Olav Nymoen, @panmari, @papelita1234, Pedro Lopes,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top