Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 215 for filename (0.2 sec)

  1. src/strconv/makeisprint.go

    //
    // usage:
    //
    // go run makeisprint.go -output isprint.go
    //
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/format"
    	"log"
    	"os"
    	"slices"
    	"unicode"
    )
    
    var filename = flag.String("output", "isprint.go", "output file name")
    
    var (
    	range16  []uint16
    	except16 []uint16
    	range32  []uint32
    	except32 []uint32
    )
    
    func isPrint(r rune) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/net/dnsconfig_unix.go

    import (
    	"internal/bytealg"
    	"internal/stringslite"
    	"net/netip"
    	"time"
    )
    
    // See resolv.conf(5) on a Linux machine.
    func dnsReadConfig(filename string) *dnsConfig {
    	conf := &dnsConfig{
    		ndots:    1,
    		timeout:  5 * time.Second,
    		attempts: 2,
    	}
    	file, err := open(filename)
    	if err != nil {
    		conf.servers = defaultNS
    		conf.search = dnsDefaultSearch()
    		conf.err = err
    		return conf
    	}
    	defer file.close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html

      {{else -}}
        {{template "header" .}}
        <div id="content" class="source">{{"" -}}
      {{end -}}
    
      {{range .Listing.Files -}}
        {{range .Funcs -}}
          <h2>{{.Name}}</h2>{{"" -}}
          <p class="filename">{{.File}}</p>{{"\n" -}}
          <pre onClick="pprof_toggle_asm(event)">{{"\n" -}}
            {{printf "  Total:  %10s %10s (flat, cum) %s" .Flat .Cumulative .Percent -}}
            {{range .Lines -}}{{"\n" -}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. internal/disk/stat_linux.go

    		iostats.DiscardIOs = stats[11]
    		iostats.DiscardMerges = stats[12]
    		iostats.DiscardSectors = stats[13]
    		iostats.DiscardTicks = stats[14]
    	}
    	return
    }
    
    func readStat(fileName string) (stats []uint64, err error) {
    	file, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	s, err := bufio.NewReader(file).ReadString('\n')
    	if err != nil && !errors.Is(err, io.EOF) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/text/template/helper.go

    func (t *Template) ParseFiles(filenames ...string) (*Template, error) {
    	t.init()
    	return parseFiles(t, readFileOS, filenames...)
    }
    
    // parseFiles is the helper for the method and function. If the argument
    // template is nil, it is created from the first file.
    func parseFiles(t *Template, readFile func(string) (string, []byte, error), filenames ...string) (*Template, error) {
    	if len(filenames) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:54:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/os/dir_windows.go

    				info := (*windows.FILE_ID_BOTH_DIR_INFO)(entry)
    				nextEntryOffset = info.NextEntryOffset
    				nameslice = unsafe.Slice(&info.FileName[0], info.FileNameLength/2)
    			} else {
    				info := (*windows.FILE_FULL_DIR_INFO)(entry)
    				nextEntryOffset = info.NextEntryOffset
    				nameslice = unsafe.Slice(&info.FileName[0], info.FileNameLength/2)
    			}
    			d.bufp += int(nextEntryOffset)
    			islast = nextEntryOffset == 0
    			if islast {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

        }
      }
      return {};
    }
    
    TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) {
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(R"mlir(
        module {
          "tf_saved_model.asset"() {filename = "assets/file_0.txt", sym_name = "__tf_saved_model_asset0"} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/json_to_flatbuffer.cc

    int main(int argc, char** argv) {
      // load FlatBuffer schema (.fbs) and JSON from disk
      if (argc < 2) {
        std::cerr << "Missing input argument. Usage:\n"
                  << argv[0] << " <filename or - for stdin>\n\n";
        return 1;
      }
      const char* schema_path = argv[1];
      const char* json_path = argv[2];
      std::string schema;
      std::string json;
    
      const bool status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/crypto/md5/gen.go

    // Invoke as
    //
    //	go run gen.go -output md5block.go
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"go/format"
    	"log"
    	"os"
    	"strings"
    	"text/template"
    )
    
    var filename = flag.String("output", "md5block.go", "output file name")
    
    func main() {
    	flag.Parse()
    
    	var buf bytes.Buffer
    
    	t := template.Must(template.New("main").Funcs(funcs).Parse(program))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/internal/boring/build-goboring.sh

    	enum = 0
    	next
    }
    enum && NF == 3 && $2 == "=" {
    	name = $1
    	sub(/^GO_/, "", name)
    	val = $3
    	sub(/,$/, "", val)
    	print "check_value(" name ", " val ")" > "goboringcrypto.x"
    	next
    }
    enum {
    	print FILENAME ":" NR ": unexpected line in enum: " $0 > "/dev/stderr"
    	exitcode = 1
    	next
    }
    
    # Check struct sizes.
    /^typedef struct / && $NF ~ /^GO_/ {
    	name = $NF
    	sub(/^GO_/, "", name)
    	sub(/;$/, "", name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top