Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for charconst (0.19 sec)

  1. src/text/template/parse/lex_test.go

    import (
    	"fmt"
    	"testing"
    )
    
    // Make the types prettyprint.
    var itemName = map[itemType]string{
    	itemError:        "error",
    	itemBool:         "bool",
    	itemChar:         "char",
    	itemCharConstant: "charconst",
    	itemComment:      "comment",
    	itemComplex:      "complex",
    	itemDeclare:      ":=",
    	itemEOF:          "EOF",
    	itemField:        "field",
    	itemIdentifier:   "identifier",
    	itemLeftDelim:    "left delim",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  2. src/text/template/parse/parse_test.go

    	{"rparen2",
    		"{{(.X 1 2 3",
    		hasError, `unclosed action`},
    	{"space",
    		"{{`x`3}}",
    		hasError, `in operand`},
    	{"idchar",
    		"{{a#}}",
    		hasError, `'#'`},
    	{"charconst",
    		"{{'a}}",
    		hasError, `unterminated character constant`},
    	{"stringconst",
    		`{{"a}}`,
    		hasError, `unterminated quoted string`},
    	{"rawstringconst",
    		"{{`a}}",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithConstants.java

    package org.gradle.test;
    
    public class JavaClassWithConstants {
        public static final String STRING_CONST = "some-string";
        static final char CHAR_CONST = 'a';
        static final int INT_CONST = 9;
        protected static final Object OBJECT_CONST = new JavaClassWithConstants();
    
        static String ignored = "ignore";
        String ignored2 = "ignore";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 353 bytes
    - Viewed (0)
  4. src/hash/crc32/gen_const_ppc64le.go

    	fmt.Fprintf(w, "DATA ·%sBarConst(SB)/8,$0x%016x\n", polyid, reflect_bits(get_quotient(ref_poly, 32, 64), 33))
    	fmt.Fprintf(w, "DATA ·%sBarConst+8(SB)/8,$0x0000000000000000\n", polyid)
    	fmt.Fprintf(w, "DATA ·%sBarConst+16(SB)/8,$0x%016x\n", polyid, reflect_bits((uint64(1)<<32)|ref_poly, 33)) // reflected?
    	fmt.Fprintf(w, "DATA ·%sBarConst+24(SB)/8,$0x0000000000000000\n", polyid)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java

                i += Character.charCount(codePoint);
                writeCDATA(codePoint);
            }
        }
    
        private void writeCDATA(CharSequence cdata) throws IOException {
            int len = cdata.length();
            for (int i = 0; i < len;) {
                int codePoint = Character.codePointAt(cdata, i);
                i += Character.charCount(codePoint);
                writeCDATA(codePoint);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 12K bytes
    - Viewed (0)
  6. okhttp/src/main/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,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. 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;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.3K bytes
    - Viewed (0)
  8. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

                if ('\\' == unicodeChar || ('/' == unicodeChar && !allowSlash)) {
                    throw failure(String.format("%s cannot contain '%c'.", name, (char) unicodeChar));
                }
                offset += Character.charCount(unicodeChar);
            }
            return type.cast(this);
        }
    
        public T optionalNotEmpty() {
            if (value != null && value.length() == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. 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;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (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++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 8.6K bytes
    - Viewed (0)
Back to top