Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for Trailing (0.63 sec)

  1. src/encoding/pem/pem.go

    }
    
    // getLine results the first \r\n or \n delineated line from the given byte
    // array. The line does not include trailing whitespace or the trailing new
    // line bytes. The remainder of the byte array (also not including the new line
    // bytes) is also returned and this will always be smaller than the original
    // argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/symtabinl_test.go

    	prevStack := "x"
    	for pc := pc1; pc < pc1+1024 && findfunc(pc) == f; pc += sys.PCQuantum {
    		stack := ""
    		u, uf := newInlineUnwinder(f, pc)
    		if file, _ := u.fileLine(uf); file == "?" {
    			// We're probably in the trailing function padding, where findfunc
    			// still returns f but there's no symbolic information. Just keep
    			// going until we definitely hit the end. If we see a "?" in the
    			// middle of unwinding, that's a real problem.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

    std::optional<CalibrationStatistics>
    CalibrationStatisticsCollectorHistogram::GetStatistics() const {
      if (hist_freq_.empty()) return std::nullopt;
    
      CalibrationStatistics::HistogramStatistics hist_stats;
    
      // Skip trailing zeros in the histogram.
      int32_t real_size = hist_freq_.size();
      for (; real_size > 0; --real_size) {
        if (hist_freq_[real_size - 1] != 0) break;
      }
    
      hist_stats.set_lower_bound(lower_bound_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/runtime/checkptr.go

    // the address p.
    //
    // Importantly, if p1 and p2 point into the same variable, then
    // checkptrBase(p1) == checkptrBase(p2). However, the converse/inverse
    // is not necessarily true as allocations can have trailing padding,
    // and multiple variables may be packed into a single allocation.
    //
    // checkptrBase should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pkg/kubelet/util/swap/swap_util.go

    }
    
    // gets /proc/swaps's content as an input, returns true if swap is enabled.
    func isSwapOnAccordingToProcSwaps(procSwapsContent []byte) bool {
    	procSwapsContent = bytes.TrimSpace(procSwapsContent) // extra trailing \n
    	procSwapsStr := string(procSwapsContent)
    	procSwapsLines := strings.Split(procSwapsStr, "\n")
    
    	// If there is more than one line (table headers) in /proc/swaps then swap is enabled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/runtime/os3_plan9.go

    	// made a mistake somewhere in sigtramp.
    	if _ureg == nil || note == nil {
    		print("sighandler: ureg ", _ureg, " note ", note, "\n")
    		goto Throw
    	}
    	// Check that the note is no more than ERRMAX bytes (including
    	// the trailing NUL). We should never receive a longer note.
    	if len(notestr) > _ERRMAX-1 {
    		print("sighandler: note is longer than ERRMAX\n")
    		goto Throw
    	}
    	if isAbortPC(c.pc()) {
    		// Never turn abort into a panic.
    		goto Throw
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_util.h

             word_index++) {
          uint64 word = storage_[word_index];
          while (word != 0) {
            uint64 only_lowest_bit_set = word & -word;
            // The number of trailing zeros in a non-zero word is the index of the
            // least significant 1.
            int bit_index = absl::countr_zero(word);
            if (!func(DeviceId(word_index * kWordSize + bit_index))) {
              return;
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/mime/multipart/writer.go

    	p, err := w.CreateFormField(fieldname)
    	if err != nil {
    		return err
    	}
    	_, err = p.Write([]byte(value))
    	return err
    }
    
    // Close finishes the multipart message and writes the trailing
    // boundary end line to the output.
    func (w *Writer) Close() error {
    	if w.lastpart != nil {
    		if err := w.lastpart.close(); err != nil {
    			return err
    		}
    		w.lastpart = nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. security/pkg/pki/util/crypto.go

    	default:
    		return nil, fmt.Errorf("private key is not ECDSA based")
    	}
    }
    
    // PemCertBytestoString: takes an array of PEM certs in bytes and returns a string array in the same order with
    // trailing newline characters removed
    func PemCertBytestoString(caCerts []byte) []string {
    	certs := []string{}
    	var cert string
    	pemBlock := caCerts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/internal/filepathlite/path.go

    		if path[i] == '.' {
    			return path[i:]
    		}
    	}
    	return ""
    }
    
    // Base is filepath.Base.
    func Base(path string) string {
    	if path == "" {
    		return "."
    	}
    	// Strip trailing slashes.
    	for len(path) > 0 && IsPathSeparator(path[len(path)-1]) {
    		path = path[0 : len(path)-1]
    	}
    	// Throw away volume name
    	path = path[len(VolumeName(path)):]
    	// Find the last element
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top