Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for idchar (0.2 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. pkg/volume/hostpath/host_path_test.go

    			if oftc.IsBlock() {
    				t.Errorf("[%d: %q] expected socket file, got unexpected block device: %s", i, tc.name, path)
    			}
    			if oftc.IsChar() {
    				t.Errorf("[%d: %q] expected socket file, got unexpected character device: %s", i, tc.name, path)
    			}
    		}
    
    		if tc.isChar {
    			if !oftc.IsChar() {
    				t.Errorf("[%d: %q] expected character device, got unexpected: %s", i, tc.name, path)
    			}
    			if oftc.IsDir() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. src/syscall/types_freebsd.go

    };
    
    struct sockaddr_any {
    	struct sockaddr addr;
    	char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
    };
    
    // This structure is a duplicate of if_data on FreeBSD 8-STABLE.
    // See /usr/include/net/if.h.
    struct if_data8 {
    	u_char  ifi_type;
    	u_char  ifi_physical;
    	u_char  ifi_addrlen;
    	u_char  ifi_hdrlen;
    	u_char  ifi_link_state;
    	u_char  ifi_spare_char1;
    	u_char  ifi_spare_char2;
    	u_char  ifi_datalen;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. src/encoding/base64/base64.go

    	dst[di+1] = enc.encode[val>>12&0x3F]
    
    	switch remain {
    	case 2:
    		dst[di+2] = enc.encode[val>>6&0x3F]
    		if enc.padChar != NoPadding {
    			dst[di+3] = byte(enc.padChar)
    		}
    	case 1:
    		if enc.padChar != NoPadding {
    			dst[di+2] = byte(enc.padChar)
    			dst[di+3] = byte(enc.padChar)
    		}
    	}
    }
    
    // AppendEncode appends the base64 encoded src to dst
    // and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  6. 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/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)
  8. 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)
  9. 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)
  10. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

          return buildString {
            val buffer = Buffer().writeUtf8(s)
            while (!buffer.exhausted()) {
              val c = buffer.readUtf8CodePoint()
              if (c != '\\'.code) {
                append(c.toChar())
                continue
              }
              when (buffer.readUtf8CodePoint()) {
                '\\'.code -> append('\\')
                '#'.code -> append('#')
                'n'.code -> append('\n')
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top