Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,708 for lengths (0.04 sec)

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

            int offset = 50;
            byte[] infoData = createMockFileBasicInfoBuffer();
            System.arraycopy(infoData, 0, buffer, offset, infoData.length);
            response.setDataCount(infoData.length);
    
            int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
    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/org/codelibs/fess/entity/SearchRequestParamsTest.java

            assertEquals(3, result.length);
            assertEquals("a", result[0]);
            assertEquals("b", result[1]);
            assertEquals("c", result[2]);
        }
    
        public void test_simplifyArray_withBlanks() {
            String[] input = { "a", "", "b", "  ", null, "c" };
            String[] result = SearchRequestParams.simplifyArray(input);
            assertEquals(3, result.length);
            assertEquals("a", result[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

         *
         * @param rus wrapped string
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString from a Java String.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.hashAlgos != null ? this.hashAlgos.length : 0, dst, dstIndex);
            SMBUtil.writeInt2(this.salt != null ? this.salt.length : 0, dst, dstIndex + 2);
            dstIndex += 4;
    
            if (this.hashAlgos != null) {
                for (final int hashAlgo : this.hashAlgos) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals(1, itemList.get(0).getInputs().length);
            assertEquals(1, itemList.get(0).getOutputs().length);
            assertEquals("a1", itemList.get(0).getInputs()[0]);
            assertEquals("A1", itemList.get(0).getOutputs()[0]);
            assertFalse(itemList.get(0).isUpdated());
    
            assertEquals(2, itemList.get(1).getInputs().length);
            assertEquals(1, itemList.get(1).getOutputs().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            for (int i = 0; i < this.unlocks.length; i++) {
                this.unlocks[i] = createLockRange();
                bufferIndex += this.unlocks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
            for (int i = 0; i < this.locks.length; i++) {
                this.locks[i] = createLockRange();
                bufferIndex += this.locks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

      public final Entry<AnEnum, String>[] createArray(int length) {
        return (Entry<AnEnum, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final AnEnum[] createKeyArray(int length) {
        return new AnEnum[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. cmd/httprange.go

    	}
    
    	return rangeLength, nil
    }
    
    // GetOffsetLength computes the start offset and length of the range
    // given the size of the resource
    func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) {
    	if h == nil {
    		// No range specified, implies whole object.
    		return 0, resourceSize, nil
    	}
    
    	length, err = h.GetLength(resourceSize)
    	if err != nil {
    		return 0, 0, err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          implements TestMultimapGenerator<String, String, M> {
    
        @Override
        public String[] createKeyArray(int length) {
          return new String[length];
        }
    
        @Override
        public String[] createValueArray(int length) {
          return new String[length];
        }
    
        @Override
        public SampleElements<String> sampleKeys() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
Back to top