Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for charconst (0.09 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. 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)
  4. 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)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toString(d));
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toString(f));
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toString(d));
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        char[] tmp = new char[2];
        for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) {
          Character.toChars(i, tmp, 0);
          checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i)));
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toString(f));
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top