Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for idchar (0.1 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. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/text/StyledTable.java

                output.withStyle(Normal).text(model.indent + "|" + padChar);
                for (int i = 0; i < row.size(); i++) {
                    output.text(Strings.padEnd(row.get(i), colWidths[i], padChar));
                    if (i < row.size() - 1) {
                        output.withStyle(Normal).text(padChar + "|" + padChar);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 22 21:03:24 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. src/internal/bytealg/count_s390x.s

    	// Also replicate c across a 16-byte vector and initialize V_ZERO.
    	ANDW  $0xf, R_LEN
    	VLVGB $0, R_CHAR, V_CHAR // V_CHAR = [16]byte{c, 0, ..., 0, 0}
    	VZERO V_ZERO             // V_ZERO = [1]uint128{0}
    	ADDW  $-1, R_LEN
    	VREPB $0, V_CHAR, V_CHAR // V_CHAR = [16]byte{c, c, ..., c, c}
    
    	// Jump to loop if we have more than 15 bytes to process.
    	CGIJ $NE, R_ITER, $0, vxchunks
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/base/Strings.java

       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
       * @return the padded string
       */
      public static String padStart(String string, int minLength, char padChar) {
        checkNotNull(string); // eager for GWT.
        if (string.length() >= minLength) {
          return string;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:47:03 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  9. operator/pkg/helm/fs_renderer_test.go

    		desc                  string
    		inValues              string
    		inChart               chart.Chart
    		startRender           bool
    		inPath                string
    		objFileTemplateReader Renderer
    		wantResult            string
    		wantErr               error
    	}{
    		{
    			desc:                  "not-started",
    			inValues:              "",
    			startRender:           false,
    			inChart:               chart.Chart{},
    			objFileTemplateReader: Renderer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 24 21:09:19 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top