Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,748 for LENGTH (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                int offset = 50;
                int length = 100;
                request.setData(fullData, offset, length);
    
                byte[] buffer = new byte[512];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Verify only the specified portion is written
                assertEquals(48 + length, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EncodableTest.java

                    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
            );
        }
    
        // Creates a deterministic byte sequence [0,1,2,...,n-1]
    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/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for (int si = 0; si < sids.length; si++) {
                this.sids[si] = new lsarpc.LsarSidPtr();
                this.sids[si].sid = sids[si].unwrap(sid_t.class);
            }
        }
    
        LsarSidArrayX(final SID[] sids) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            byte[] data = { 0x01, 0x02, 0x03, 0x04 };
            ndrBuffer.writeOctetArray(data, 0, data.length);
    
            assertEquals(data.length, ndrBuffer.getIndex());
            assertEquals(data.length, ndrBuffer.getLength());
            assertArrayEquals(data, Arrays.copyOfRange(buffer, 0, data.length));
    
            // Write with offset and length
            ndrBuffer.setIndex(10);
            byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return new Entry[length];
        }
    
        @Override
        public Iterable<Entry<String, Collection<Integer>>> order(
            List<Entry<String, Collection<Integer>>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public String[] createKeyArray(int length) {
          return new String[length];
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. migrator/column_type.go

    	return ct.AutoIncrementValue.Bool, ct.AutoIncrementValue.Valid
    }
    
    // Length returns the column type length for variable length column types
    func (ct ColumnType) Length() (length int64, ok bool) {
    	if ct.LengthValue.Valid {
    		return ct.LengthValue.Int64, true
    	}
    	return ct.SQLColumnType.Length()
    }
    
    // DecimalSize returns the scale and precision of a decimal type.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top