Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for input (3.9 sec)

  1. src/cmd/asm/internal/lex/input.go

    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    // and the next token to return to the user, if any, plus an error, if any.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    							if !ok {
    								return
    							}
    							input := h.NewRequest()
    							_, err := input.UnmarshalMsg(v)
    							if err != nil {
    								gridLogOnceIf(ctx, err, err.Error())
    							}
    							PutByteBuffer(v)
    							// Send input
    							select {
    							case <-ctx.Done():
    								return
    							case inT <- input:
    							}
    						}
    					}
    				}()
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure --name foo -o temp --clusterID cid", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    func writeFile(path string, data []byte) error {
    	return os.WriteFile(path, data, 0o644)
    }
    
    // inFileAbsolutePath returns the absolute path for an input file like "gateways".
    func inFileAbsolutePath(inFile string) string {
    	return filepath.Join(testDataDir, "input", inFile+".yaml")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    		errors[fileline] = line
    	}
    
    	// Reconstruct expected errors by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	lineno := 0
    	lines := strings.Split(string(data), "\n")
    	for _, line := range lines {
    		lineno++
    
    		fileline := fmt.Sprintf("%s:%d", input, lineno)
    		if m := errRE.FindStringSubmatch(line); m != nil {
    			all := m[1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the headers are relevant for this particular test.
    		inputReq, err := http.NewRequest(http.MethodGet, "http://example.com", nil)
    		if err != nil {
    			t.Fatalf("Error initializing input HTTP request: %v", err)
    		}
    		if testCase.inputQueryKey != "" {
    			q := inputReq.URL.Query()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    			d := divisibleSize / cnt
    			if d <= prevD {
    				prevD = d
    				setSize = cnt
    			}
    		}
    	}
    	return setSize
    }
    
    // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
    // input argument patterns, the symmetry calculation is to ensure that
    // we also use uniform number of drives common across all ellipses patterns.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    	return nil
    }
    
    // compressionIndexEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    func compressionIndexEncrypter(key crypto.ObjectKey, input func() []byte) func() []byte {
    	var data []byte
    	var fetched bool
    	return func() []byte {
    		if !fetched {
    			data = input()
    			fetched = true
    		}
    		return metadataEncrypter(key)("compression-index", data)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. internal/s3select/select.go

    	unmarshaled     bool
    	format          string
    }
    
    // IsEmpty - returns whether input serialization is empty or not.
    func (input *InputSerialization) IsEmpty() bool {
    	return !input.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (input *InputSerialization) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
Back to top