Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for charCount (0.15 seconds)

  1. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       * kinds of common human text.
       *
       * @see MaxCodePoint#decode
       */
      @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"})
      MaxCodePoint maxCodePoint;
    
      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                byte[] wideBytes = str.getBytes(StandardCharsets.UTF_16LE);
                int charCount = str.length();
    
                // NDR string structure: MaximumCount, Offset, ActualCount, then data
                buf.enc_ndr_long(charCount + 1); // MaximumCount (including null terminator)
                buf.enc_ndr_long(0); // Offset
                buf.enc_ndr_long(charCount + 1); // ActualCount (including null terminator)
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.Character.charCount;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An {@link Escaper} that converts literal text into a format safe for inclusion in a particular
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. src/main/webapp/js/chat.js

                emptyState: $('#emptyState'),
                progressIndicator: $('#progressIndicator'),
                progressMessage: $('#progressMessage'),
                errorBanner: $('#errorBanner'),
                charCount: $('#charCount'),
                filterToggleBtn: $('#filterToggleBtn'),
                filterBadge: $('#filterBadge'),
                filterPanel: $('#filterPanel')
            };
    
            bindEvents();
            autoResizeTextarea();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    								</button>
    							</div>
    							<div class="input-footer">
    								<span class="input-hint"><la:message key="labels.chat_input_hint" /></span>
    								<span class="char-counter"><span id="charCount">0</span> / 4000</span>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/chat/chat.jsp

    								</button>
    							</div>
    							<div class="input-footer">
    								<span class="input-hint"><la:message key="labels.chat_input_hint" /></span>
    								<span class="char-counter"><span id="charCount">0</span> / 4000</span>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

            writeByte((d1 shl 4) + d2)
            i += 2
            i += Character.charCount(codePoint)
            continue
          }
        } else if (codePoint == '+'.code && plusIsSpace) {
          writeByte(' '.code)
          i++
          continue
        }
        writeUtf8CodePoint(codePoint)
        i += Character.charCount(codePoint)
      }
    }
    
    internal fun String.canonicalize(
      pos: Int = 0,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    matchOutput = fst.outputs.add(pendingOutput, scratchArc.nextFinalOutput());
                    longestMatchEndOffset = start + index + Character.charCount(codePoint);
                }
    
                index += Character.charCount(codePoint);
            }
    
            return matchOutput;
        }
    
        void tokenizeWholeBlock() {
            queue.clear();
            int nextStart = 0;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 17K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(expected, murmur3_32_fixed().newHasher().putBytes(string.getBytes(charset)).hash());
      }
    
      private boolean allBmp(String string) {
        // Ordinarily we'd use something like i += Character.charCount(string.codePointAt(i)) here. But
        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(expected, murmur3_32_fixed().newHasher().putBytes(string.getBytes(charset)).hash());
      }
    
      private boolean allBmp(String string) {
        // Ordinarily we'd use something like i += Character.charCount(string.codePointAt(i)) here. But
        // we can get away with i++ because the whole point of this method is to return false if we find
        // a code point that doesn't fit in a char.
        for (int i = 0; i < string.length(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top