Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,281 for terminator (0.29 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

            System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length);
            dstIndex += pathBytes.length;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2; // null terminator
            return dstIndex - start;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall.go

    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    	}
    
    	// Find NUL terminator.
    	n := 0
    	for ptr := unsafe.Pointer(p); *(*byte)(ptr) != 0; n++ {
    		ptr = unsafe.Pointer(uintptr(ptr) + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/syscall/env_windows.go

    	}
    	defer FreeEnvironmentStrings(envp)
    
    	r := make([]string, 0, 50) // Empty with room to grow.
    	const size = unsafe.Sizeof(*envp)
    	for *envp != 0 { // environment block ends with empty string
    		// find NUL terminator
    		end := unsafe.Pointer(envp)
    		for *(*uint16)(end) != 0 {
    			end = unsafe.Add(end, size)
    		}
    
    		entry := unsafe.Slice(envp, (uintptr(end)-uintptr(unsafe.Pointer(envp)))/size)
    		r = append(r, UTF16ToString(entry))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall.go

    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    	}
    
    	// Find NUL terminator.
    	n := 0
    	for ptr := unsafe.Pointer(p); *(*byte)(ptr) != 0; n++ {
    		ptr = unsafe.Pointer(uintptr(ptr) + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/testflag.go

    		}
    
    		if errors.Is(err, cmdflag.ErrFlagTerminator) {
    			// 'go list' allows package arguments to be named either before or after
    			// the terminator, but 'go test' has historically allowed them only
    			// before. Preserve that behavior and treat all remaining arguments —
    			// including the terminator itself! — as arguments to the test.
    			explicitArgs = append(explicitArgs, args...)
    			break
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    	}
    
    	// Find NUL terminator.
    	n := 0
    	for ptr := unsafe.Pointer(p); *(*byte)(ptr) != 0; n++ {
    		ptr = unsafe.Pointer(uintptr(ptr) + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. pilot/pkg/config/file/util/kubeyaml/kubeyaml.go

    			startLine = r.currLine
    			foundStart = true
    		}
    
    		sep := len([]byte(separator))
    		if i := bytes.Index(line, []byte(separator)); i == 0 {
    			// We have a potential document terminator
    			i += sep
    			after := line[i:]
    			if len(strings.TrimRightFunc(string(after), unicode.IsSpace)) == 0 {
    				if buffer.Len() != 0 {
    					return buffer.Bytes(), startLine, nil
    				}
    				if err == io.EOF {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 02:41:40 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h

      if (op->hasTrait<OpTrait::ConstantLike>()) return false;
      if (llvm::isa<TFL::ConstOp, TFL::QConstOp>(op)) return false;
      return true;
    }
    
    // Returns true if 'op' is a terminator op, otherwise false.
    bool IsTerminatorOp(Operation* op);
    
    // Returns true if 'op' is not TFL Quant / Dequant op. Returns False otherwise
    // or if 'op' is null.
    bool NotTFLQuantDequantizeOp(Operation* op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/topological_sort.cc

        // (a) emit the terminator last.
        // (b) honor the priority function (as far as possible).
        // (c) preserve order within the ops of one dialect.
        auto better = [&](Operation* a, Operation* b) {
          if (a->hasTrait<OpTrait::IsTerminator>() !=
              b->hasTrait<OpTrait::IsTerminator>()) {
            return b->hasTrait<OpTrait::IsTerminator>();
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/vet_flags.txt

    go vet -n -unsafeptr runtime
    stderr '-unsafeptr'
    ! stderr '-unsafeptr=false'
    
    # -unreachable is disabled during test but on during plain vet.
    go test -n runtime
    stderr '-unreachable=false'
    
    # A flag terminator should be allowed before the package list.
    go vet -n -- .
    
    [short] stop
    
    # Analyzer flags should be included from GOFLAGS, and should override
    # the defaults.
    go vet .
    env GOFLAGS='-tags=buggy'
    ! go vet .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top