Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,508 for LENGTH (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            String directoryPath = "/test/integration";
    
            // Setup mock files
            when(mockFile1.getName()).thenReturn("document.txt");
            when(mockFile1.length()).thenReturn(2048L);
            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                    if (entries.hasNext()) {
                        buffer.append(" | ");
                    }
                }
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
        }
    
        private String getStatus(String resourceName, long complete, long total) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SecurityBlob.java

        }
    
        void set(final byte[] b) {
            this.b = b == null ? new byte[0] : b;
        }
    
        byte[] get() {
            return this.b;
        }
    
        int length() {
            if (this.b == null) {
                return 0;
            }
            return this.b.length;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#clone()
         */
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

            this.messageLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.data = new byte[len - 16];
            if (this.data.length > 0) {
                System.arraycopy(buffer, bufferIndex, this.data, 0, this.data.length);
            }
            return bufferIndex - start;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

        public Smb2LeaseKey(byte[] key) {
            if (key == null) {
                throw new IllegalArgumentException("Lease key cannot be null");
            }
            if (key.length != LEASE_KEY_SIZE) {
                throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length);
            }
            this.key = Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Get the lease key bytes
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsGroup.java

        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(gidNumber);
            sb.append(dm).append(name);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

        void constructorShouldInitializeTypeAndLength() {
            // Test that the constructor correctly initializes the type and length fields.
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);
            assertEquals(6, packet.length);
        }
    
        @Test
        void writeTrailerWireFormatShouldReturnZero() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. internal/hash/checker.go

    	r io.Reader
    	h hash.Hash
    
    	want []byte
    }
    
    // NewChecker ensures that content with the specified length is read from rc.
    // Calling Close on this will close upstream.
    func NewChecker(rc io.ReadCloser, h hash.Hash, wantSum []byte, length int64) *Checker {
    	return &Checker{c: rc, r: ioutil.HardLimitReader(rc, length), h: h, want: wantSum}
    }
    
    // Read satisfies io.Reader
    func (c Checker) Read(p []byte) (n int, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            settings.elevateWord().add(elevateWord2);
            settings.elevateWord().add(elevateWord3);
            assertEquals(3, settings.elevateWord().get().length);
    
            settings.elevateWord().delete(elevateWord2.getElevateWord());
            assertEquals(2, settings.elevateWord().get().length);
            assertEquals(elevateWord1.getElevateWord(), settings.elevateWord().get()[0].getElevateWord());
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            return this.fp;
        }
    
        @Override
        public void seek(final long pos) {
            this.fp = pos;
        }
    
        @Override
        public long length() throws SmbException {
            return this.file.length();
        }
    
        @Override
        public void setLength(final long newLength) throws SmbException {
            try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top