Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for idchar (0.16 sec)

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

    	{"rparen",
    		"{{.X 1 2 3 ) }}",
    		hasError, "unexpected right paren"},
    	{"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",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/text/tabwriter/tabwriter.go

    func (b *Writer) Init(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer {
    	if minwidth < 0 || tabwidth < 0 || padding < 0 {
    		panic("negative minwidth, tabwidth, or padding")
    	}
    	b.output = output
    	b.minwidth = minwidth
    	b.tabwidth = tabwidth
    	b.padding = padding
    	for i := range b.padbytes {
    		b.padbytes[i] = padchar
    	}
    	if padchar == '\t' {
    		// tab padding enforces left-alignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testOnCharOverride() {
        Joiner onChar = Joiner.on('-');
        checkNoOutput(onChar, ITERABLE_);
        checkResult(onChar, ITERABLE_1, "1");
        checkResult(onChar, ITERABLE_12, "1-2");
        checkResult(onChar, ITERABLE_123, "1-2-3");
      }
    
      public void testSkipNulls() {
        Joiner skipNulls = J.skipNulls();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/encoding/base32/base32.go

    // DecodedLen returns the maximum length in bytes of the decoded data
    // corresponding to n bytes of base32-encoded data.
    func (enc *Encoding) DecodedLen(n int) int {
    	return decodedLen(n, enc.padChar)
    }
    
    func decodedLen(n int, padChar rune) int {
    	if padChar == NoPadding {
    		return n/8*5 + n%8*5/8
    	}
    	return n / 8 * 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val KaType.isDouble: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.DOUBLE) }
        public val KaType.isChar: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.CHAR) }
        public val KaType.isBoolean: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.BOOLEAN) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/JoinerTest.java

          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testOnCharOverride() {
        Joiner onChar = Joiner.on('-');
        checkNoOutput(onChar, ITERABLE_);
        checkResult(onChar, ITERABLE_1, "1");
        checkResult(onChar, ITERABLE_12, "1-2");
        checkResult(onChar, ITERABLE_123, "1-2-3");
      }
    
      public void testSkipNulls() {
        Joiner skipNulls = J.skipNulls();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/net/mail/message.go

    	b.WriteByte('"')
    	for _, r := range s {
    		if isQtext(r) || isWSP(r) {
    			b.WriteRune(r)
    		} else if isVchar(r) {
    			b.WriteByte('\\')
    			b.WriteRune(r)
    		}
    	}
    	b.WriteByte('"')
    	return b.String()
    }
    
    // isVchar reports whether r is an RFC 5322 VCHAR character.
    func isVchar(r rune) bool {
    	// Visible (printing) characters.
    	return '!' <= r && r <= '~' || isMultibyte(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/src/commonMain/kotlin/samples/Base64.kt

        fun encode(src: ByteArray): ByteArray
        fun encodeToString(src: ByteArray): String {
            val encoded = encode(src)
            return buildString(encoded.size) {
                encoded.forEach { append(it.toInt().toChar()) }
            }
        }
    }
    
    expect object Base64Factory {
        fun createEncoder(): Base64Encoder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 978 bytes
    - Viewed (0)
  9. pkg/volume/hostpath/host_path.go

    }
    
    type hostPathTypeChecker interface {
    	Exists() bool
    	IsFile() bool
    	MakeFile() error
    	IsDir() bool
    	MakeDir() error
    	IsBlock() bool
    	IsChar() bool
    	IsSocket() bool
    	GetPath() string
    }
    
    type fileTypeChecker struct {
    	path string
    	hu   hostutil.HostUtils
    }
    
    func (ftc *fileTypeChecker) Exists() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/runtime/time.go

    	//
    	// Package time does not know about seq, but if this is a channel timer (t.isChan == true),
    	// this file uses t.seq as a sequence number to recognize and squelch
    	// sends that correspond to an earlier (stale) timer configuration,
    	// similar to its use in netpoll. In this usage (that is, when t.isChan == true),
    	// writes to seq are protected by both t.mu and t.sendLock,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top