Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,281 for terminator (0.16 sec)

  1. src/archive/tar/strconv.go

    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    // fitsInBase256 reports whether x can be encoded into n bytes using base-256
    // encoding. Unlike octal encoding, base-256 encoding does not require that the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go

    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    	sep := len([]byte(yamlSeparator))
    	if i := bytes.Index(data, []byte(yamlSeparator)); i >= 0 {
    		// We have a potential document terminator
    		i += sep
    		after := data[i:]
    		if len(after) == 0 {
    			// we can't read any more characters
    			if atEOF {
    				return len(data), data[:len(data)-sep], nil
    			}
    			return 0, nil, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramSource.kt

            get() = contents.text
    
        fun map(transform: (ProgramText) -> ProgramText) =
            ProgramSource(path, transform(contents))
    }
    
    
    /**
     * Normalised program text guaranteed to use `\n` as the only line terminator character.
     */
    data class ProgramText private constructor(val text: String) {
    
        companion object {
    
            internal
            fun from(string: String) =
                ProgramText(string.replace("\r\n", "\n"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. src/image/gif/writer.go

    	for i, c := range data {
    		if err := b.WriteByte(c); err != nil {
    			return i, err
    		}
    	}
    	return len(data), nil
    }
    
    func (b blockWriter) close() {
    	// Write the block terminator (0x00), either by itself, or along with a
    	// pending sub-block.
    	if b.e.buf[0] == 0 {
    		b.e.writeByte(0)
    	} else {
    		n := uint(b.e.buf[0])
    		b.e.buf[n+1] = 0
    		b.e.write(b.e.buf[:n+2])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_flags.txt

    env GO111MODULE=on
    
    [short] skip
    
    # Arguments after the flag terminator should be ignored.
    # If we pass '-- -test.v', we should not get verbose output
    # *and* output from the test should not be echoed.
    go test ./x -- -test.v
    stdout '\Aok\s+example.com/x\s+[0-9.s]+\n\z'
    ! stderr .
    
    # For backward-compatibility with previous releases of the 'go' command,
    # arguments that appear after unrecognized flags should not be treated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

          // If the next op is terminator, function type needs to be changed so
          // handle this case separately when propagating for function op is
          // added.
          if (std::any_of(user_op->getResult(0).getUsers().begin(),
                          user_op->getResult(0).getUsers().end(), [](Operation* y) {
                            return y->hasTrait<OpTrait::IsTerminator>();
                          }))
            continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cmdflag/flag.go

    // and some are for both.
    
    // ErrFlagTerminator indicates the distinguished token "--", which causes the
    // flag package to treat all subsequent arguments as non-flags.
    var ErrFlagTerminator = errors.New("flag terminator")
    
    // A FlagNotDefinedError indicates a flag-like argument that does not correspond
    // to any registered flag in a FlagSet.
    type FlagNotDefinedError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 02:38:04 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

          $_state.addTypes(result_types);
          $_state.addRegion();
        }]>
      ];
    
      let hasCanonicalizer = 1;
    }
    
    def TfDevice_ReturnOp : TfDevice_Op<"return", [Pure, ReturnLike, Terminator]> {
      let summary = [{
    The `tf_device.return` operation terminates and returns values from a
    `tf_device` dialect operation.
      }];
    
      let arguments = (ins
        Variadic<AnyType>:$results
      );
    
      let builders = [
        OpBuilder<(ins),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. src/encoding/csv/writer.go

    // be checked by calling the [Writer.Error] method.
    type Writer struct {
    	Comma   rune // Field delimiter (set to ',' by NewWriter)
    	UseCRLF bool // True to use \r\n as the line terminator
    	w       *bufio.Writer
    }
    
    // NewWriter returns a new Writer that writes to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		Comma: ',',
    		w:     bufio.NewWriter(w),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/os/path_windows.go

    		prefix = []uint16{'\\', '\\', '?', '\\'}
    	}
    
    	p, err := syscall.UTF16FromString(path)
    	if err != nil {
    		return path
    	}
    	// Estimate the required buffer size using the path length plus the null terminator.
    	// pathLength includes the working directory. This should be accurate unless
    	// the working directory has changed without using os.Chdir.
    	n := uint32(pathLength) + 1
    	var buf []uint16
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top