Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,869 for lengthOf (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    Others
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      int count;
    
      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      void setUp() {
        originalString = Strings.repeat("x", length);
      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:24:24 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (resourceBundle == null) {
                return null;
            }
    
            final int length = messageCode.length();
            if (length > CODE_NUMBER_LENGTH) {
                final String key = messageCode.charAt(0) + messageCode.substring(length - CODE_NUMBER_LENGTH);
                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          for (String comp : components) {
            sb.append(comp);
            sb.append(DELIMITER_STRING);
          }
          if (sb.length() > 0) {
            sb.setLength(sb.length() - DELIMITER_STRING.length());
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        @Override
        public InputStream openStream() {
          return new In();
        }
    
        public void append(byte[] b) {
          byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length);
          System.arraycopy(b, 0, newBytes, bytes.length, b.length);
          bytes = newBytes;
        }
    
        private class In extends InputStream {
          private int pos;
    
          @Override
          public int read() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          System.arraycopy(elements, 0, all, 0, elements.length);
          System.arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            writeHeaderWireFormat( dst, dstIndex );
            return HEADER_LENGTH + length;
        }
        int readWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            readHeaderWireFormat( in, buffer, bufferIndex );
            return HEADER_LENGTH + readTrailerWireFormat( in, buffer, bufferIndex );
        }
        int writeHeaderWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

       */
      public static char[] concat(char[]... arrays) {
        int length = 0;
        for (char[] array : arrays) {
          length += array.length;
        }
        char[] result = new char[length];
        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    // Returns the length (number of tensors) of the input argument `input_name`
    // found in the provided `op`.
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
                                                   const char* input_name,
                                                   TF_Status* status);
    
    // Returns the length (number of tensors) of the output argument `output_name`
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top