Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 1,922 for LENGTH (0.04 seconds)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3");
            assertEquals(3, NtlmMessage.readUShort(dest, 2), "Length field must be 3 again");
            assertEquals(8, NtlmMessage.readULong(dest, 4), "Offset must point to payload start");
            byte[] actualPayload = new byte[payload.length];
            System.arraycopy(dest, 8, actualPayload, 0, payload.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        private long h1;
        private long h2;
        private int length;
    
        Murmur3_128Hasher(int seed) {
          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
        @Override
        protected void process(ByteBuffer bb) {
          long k1 = bb.getLong();
          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. cmd/warm-backend-s3.go

    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    		UserMetadata:   meta,
    	})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/ArrayMap.java

        public V[] toArray(final V[] proto) {
            @SuppressWarnings("unchecked")
            final V[] array = proto.length >= size ? proto : (V[]) Array.newInstance(proto.getClass().getComponentType(), size);
            for (int i = 0; i < array.length; i++) {
                array[i] = getAt(i);
            }
            if (array.length > size) {
                array[size] = null;
            }
            return array;
        }
    
        @Override
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                n = url.lastIndexOf('.');
                if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {
                    resp.setContentType(mimeMap.getMimeType(type));
                }
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    
                while ((n = in.read(buf)) != -1) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. tests/lru_test.go

    	}
    	if v != "" {
    		t.Fatalf("should be nil")
    	}
    
    	if lc.Len() != 0 {
    		t.Fatalf("length differs from expected")
    	}
    	if !reflect.DeepEqual(evicted, []string{"key1", "val1"}) {
    		t.Fatalf("value differs from expected")
    	}
    
    	// add new entry
    	lc.Add("key2", "val2")
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    
    	k, v, ok = lc.GetOldest()
    	if k != "key2" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

         * @param remoteAddress remote memory address
         * @param remoteKey remote memory key
         * @param length number of bytes to read
         * @throws IOException if read fails
         */
        public abstract void rdmaRead(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException;
    
        /**
         * Perform RDMA write operation
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            super.processStartCrawling(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
                ComponentUtil.getCrawlerStatsHelper().begin(urlQueue);
            }
        }
    
        @Override
        protected void processCleanupCrawling(final Object... objs) {
            super.processCleanupCrawling(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbRandomAccess.java

         */
        void seek(long pos);
    
        /**
         * Get the current file length
         *
         * @return file length
         * @throws SmbException if an I/O error occurs
         */
        long length() throws SmbException;
    
        /**
         * Expand/truncate file length
         *
         * @param newLength
         *            new file length
         * @throws SmbException if an I/O error occurs
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top