Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 743 for char (0.02 sec)

  1. src/main/java/org/codelibs/core/misc/Base64Util.java

                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
            if (mod != 0) {
                outData = new char[(num + 1) * 4];
            } else {
                outData = new char[num * 4];
            }
            for (int i = 0; i < num; i++) {
                encode(inData, i * 3, outData, i * 4);
            }
            if (mod == 1) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_cluster_test.cc

            << "Mismatch in expected values at (zero-based) index " << i;
      }
    }
    
    void CheckRemoteMatMulExecutesOK(TFE_Context* ctx,
                                     const char* remote_device_name,
                                     const char* local_device_name) {
      TF_Status* status = TF_NewStatus();
      TFE_TensorHandle* h0_task0 = TestMatrixTensorHandle(ctx);
    
      TFE_Op* matmul = MatMulOp(ctx, h0_task0, h0_task0);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients_internal.h

    // Sets the attrs in the `ForwardOperation`.
    absl::Status SetAttrString(AbstractOperation*, const char* attr_name,
                               const char* data, size_t length, ForwardOperation*);
    absl::Status SetAttrInt(AbstractOperation*, const char* attr_name,
                            int64_t value, ForwardOperation*);
    absl::Status SetAttrFloat(AbstractOperation*, const char* attr_name,
                              float value, ForwardOperation*);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

          chars.add(randomAlpha());
        }
        for (int i = 0; i < nonAlpha; i++) {
          chars.add(randomNonAlpha());
        }
        Collections.shuffle(chars, random);
        char[] array = Chars.toArray(chars);
        this.testString = new String(array);
      }
    
      private char randomAlpha() {
        return ALPHA.charAt(random.nextInt(ALPHA.length()));
      }
    
      private char randomNonAlpha() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    synonymMap.words.get(bytesReader.readVInt(), scratchBytes);
                    if (scratchChars.chars.length < scratchBytes.length) {
                        scratchChars.chars = new char[scratchBytes.length];
                    }
                    scratchChars.length = UnicodeUtil.UTF8toUTF16(scratchBytes, scratchChars.chars);
                    final String word = scratchChars.toString();
                    int posInc = 0;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/text/Tokenizer.java

                int i = 0;
                do {
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) peekc;
                    peekc = read();
                    peekct = peekc < 0 ? CT_WHITESPACE : peekc < 256 ? ctype[peekc] : CT_ALPHA;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
        public static String bin_to_hex(int value, int length) {
            char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/EscapersTest.java

        return new CharEscaper() {
          @Override
          protected char[] escape(char c) {
            return replacementMap.get(c);
          }
        };
      }
    
      // A trivial non-optimized escaper for testing.
      static UnicodeEscaper createSimpleUnicodeEscaper(
          final ImmutableMap<Integer, char[]> replacementMap) {
        return new UnicodeEscaper() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
    
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
    
    
        private static String bin_to_hex ( int value, int length ) {
            char[] arr = new char[length];
            int ai = arr.length;
            while ( ai-- > 0 ) {
                arr[ ai ] = HEXCHARS[ value & 0xF ];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        Set<Character> positive = Sets.newHashSetWithExpectedSize(chars.length);
        for (char c : chars) {
          positive.add(c);
        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top