code stringlengths 10 1.34M | language stringclasses 1
value |
|---|---|
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package cc implements parsing, type checking, and printing of C programs.
package cc
| Go |
package fuse
import (
"time"
)
type attr struct {
Ino uint64
Size uint64
Blocks uint64
Atime uint64
Mtime uint64
Ctime uint64
Crtime_ uint64 // OS X only
AtimeNsec uint32
MtimeNsec uint32
CtimeNsec uint32
CrtimeNsec uint32 // OS X only
Mode uint32
Nlink u... | Go |
package fuse
import "time"
type attr struct {
Ino uint64
Size uint64
Blocks uint64
Atime uint64
Mtime uint64
Ctime uint64
AtimeNsec uint32
MtimeNsec uint32
CtimeNsec uint32
Mode uint32
Nlink uint32
Uid uint32
Gid uint32
Rdev uint32
// Blksize uint32... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Hellofs implements a simple "hello world" file system.
package main
import (
"log"
"os"
"code.google.com/p/rsc/fuse"
)
func main() {
c, err := fuse.M... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// FUSE service loop, for servers that wish to use it.
package fuse
import (
"runtime"
)
func stack() string {
buf := make([]byte, 1024)
return string(bu... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Derived from FUSE's fuse_kernel.h
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
T... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fuse
import (
"fmt"
"net"
"os"
"os/exec"
"syscall"
)
func mount(dir string) (fusefd int, errmsg string) {
fds, err := syscall.Socketpair(syscal... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Adapted from Plan 9 from User Space's src/cmd/9pfuse/fuse.c,
// which carries this notice:
//
// The files in this directory are subject to the following li... | Go |
package fuse
| Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// FUSE directory tree, for servers that wish to use it with the service loop.
package fuse
import (
"os"
pathpkg "path"
"strings"
)
// A Tree implements... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// FUSE service loop, for servers that wish to use it.
package fuse
import (
"fmt"
"hash/fnv"
"io"
"log"
"os"
"path"
"sync"
"syscall"
"time"
)
// T... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// TODO: Rewrite using package syscall not cgo
package fuse
/*
// Adapted from Plan 9 from User Space's src/cmd/9pfuse/fuse.c,
// which carries this notice:... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package oauthprompt implements prompting a local user for
// an OAuth token and caching the result in the user's home directory.
package oauthprompt
import... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// S3get fetches a single object from or lists the objects in an S3 bucket.
package main
import (
"flag"
"fmt"
"log"
"os"
"code.google.com/p/rsc/keychai... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Googlecsv prints a spreadsheet from Google Drive in CSV format.
//
// The first time googlecsv is run, it starts a web browser and asks
// the user to authe... | Go |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Acmego watches acme for .go files being written.
// Each time a .go file is written, acmego checks whether the
// import block needs adjustment. If so, it m... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"bufio"
"errors"
"io"
)
type importReader struct {
b *bufio.Reader
buf []byte
peek byte
err error
eof bool
nerr int
}
f... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Crypt is a simple password-based encryption program,
// demonstrating how to use code.google.com/p/rsc/crypt.
//
// Encrypt input to output using password:
... | Go |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Editpcln displays and edits the file names stored in a Go object file or archive.
//
// Usage:
//
// editpcln [-v] [-r from->to] old.a new.a
//
// Editpcln ... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// jfmt reads JSON from standard input, formats it, and writes it to standard output.
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"lo... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Dump Github top languages.
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"regexp"
"sort"
"strconv"
)
var (
langRE = regexp.Mu... | Go |
// Asmlint looks for errors in and sometimes rewrites assembly source files.
package main
import (
"bytes"
"flag"
"fmt"
"go/ast"
"go/build"
"go/parser"
"go/printer"
"go/token"
"io/ioutil"
"log"
"os"
"os/exec"
"path/filepath"
"regexp"
"strconv"
"strings"
)
var (
warnCall = flag.Bool("warncall", false... | Go |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Bundle combines all source files for a given package into a single source file,
// optionally adding a prefix to all top-level names.
//
// Usage:
// bundle... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"bytes"
"encoding/json"
"encoding/xml"
"flag"
"fmt"
"html"
"io"
"io/ioutil"
"log"
"net/http"
"os"
"strconv"
"strings"
"co... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"bytes"
"flag"
"fmt"
"log"
"os"
"regexp"
"strconv"
"strings"
"sync"
"time"
"code.google.com/p/goplan9/draw"
"code.google.co... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"log"
"os"
"os/exec"
"fmt"
"time"
"path"
"strings"
"strconv"
"syscall"
"code.google.com/p/goplan9/plan9/acme"
)
var _ = fmt.... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Dateseq prints a sequence of dates.
//
// dateseq start end
//
// Dateseq prints dates from start to end, in the same format as the arguments.
// Accepted f... | Go |
package main
import (
"flag"
"log"
"os"
"os/exec"
"strings"
"sync"
"syscall"
"time"
"code.google.com/p/goplan9/plan9/acme"
)
var args []string
var win *acme.Win
var needrun = make(chan bool, 1)
var kq struct {
fd int
dir *os.File
m map[string]*os.File
name map[int]string
}
func kadd(fd int) {
k... | Go |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Mkzip creates a zip file from a 'proto' file describing the contents.
package main
import (
"archive/zip"
"bufio"
"flag"
"fmt"
"io"
"io/ioutil"
"log... | Go |
//line numbers.y:2
package main
import __yyfmt__ "fmt"
//line numbers.y:2
//line numbers.y:5
type yySymType struct {
yys int
expr *Expr
exprlist []*Expr
stmt *Stmt
stmtlist []*Stmt
tok int
op Op
line Line
}
const _LE = 57346
const _GE = 57347
const _EQ = 57348
const _NE = 57349
co... | Go |
// Numbers is a text-based calculator language.
//
// numbers [file...]
//
// Numbers executes the input files given on the command line, or else
// standard input.
//
// The input is a sequence of value definitions, such as:
//
// Tax = Income * Tax Rate
// Tax Rate = 5.3%
// Income = $10,000
//
// The output shows al... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Labels converts comma-separated-value records to PostScript mailing labels.
// The output is formatted for 8½"×11" sheets containing thirty 2⅝"x1" labels ea... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// pprof_mac_fix applies a binary patch to the OS X kernel in order to make
// pprof profiling report accurate values.
//
// Warning Warning Warning
//
// This... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This program analyzes pprof_mac_fix -dump output to generate the
// "before" assembly listing and a suggested pattern template.
// +build ignore
package m... | Go |
// Uploadbot uploads tgz snapshots of Mercurial repositories to the download
// section of a Google Code project.
//
// Usage
//
// Synopsis:
//
// uploadbot [-f] [-pw=pwfile] [-root=rootdir] [project...]
//
// Uploadbot reads from pwfile (default $HOME/codebot.pw) an email address
// and code.google.com-generated pass... | Go |
package imap
// NOTE(rsc): These belong elsewhere but the existing charset
// packages seem too complicated.
var tab_iso8859_1 = [256]rune{
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x... | Go |
package imap
import (
"bytes"
"encoding/base64"
"strings"
"unicode"
)
func decode2047chunk(s string) (conv []byte, rest string, ok bool) {
// s is =?...
// and should be =?charset?e?text?=
j := strings.Index(s[2:], "?")
if j < 0 {
return
}
j += 2
if j+2 >= len(s) || s[j+2] != '?' {
return
}
k := stri... | Go |
package imap
import (
"bufio"
"bytes"
"crypto/md5"
"crypto/tls"
"fmt"
"io"
"log"
"net"
"os"
"os/exec"
"strconv"
"strings"
"sync"
)
var Debug = false
const tag = "#"
// A Mode specifies the IMAP connection mode.
type Mode int
const (
Unencrypted Mode = iota // unencrypted TCP connection
StartTLS ... | Go |
package imap
import (
"bytes"
"fmt"
"log"
"regexp"
"sort"
"strings"
"time"
)
type Flags uint32
const (
FlagJunk Flags = 1 << iota
FlagNonJunk
FlagReplied
FlagFlagged
FlagDeleted
FlagDraft
FlagRecent
FlagSeen
FlagNoInferiors
FlagNoSelect
FlagMarked
FlagUnMarked
FlagHasChildren
FlagHasNoChildren
... | Go |
package imap
import (
"bufio"
"bytes"
"fmt"
"io"
"log"
"runtime"
"strings"
"time"
)
type sxKind int
const (
sxNone sxKind = iota
sxAtom
sxString
sxNumber
sxList
)
type sx struct {
kind sxKind
data []byte
number int64
sx []*sx
}
func rdsx(b *bufio.Reader) (*sx, error) {
x := &sx{kind: sxLi... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"code.google.com/p/rsc/devweb/slave"
_ "code.google.com/p/rsc/blog/post"
)
func main() {
slave.Main()
}
| Go |
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Adapted from encoding/xml/read_test.go.
// Package atom defines XML data structures for an Atom feed.
package atom
import (
"encoding/xml"
"time"
)
typ... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package post
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"html/template"
"net/http"
"os"
"path"
"runtime/debug"
"sort"
"strings"
"time"
... | Go |
package post
import (
"fmt"
"net/http"
"runtime/debug"
qrweb "code.google.com/p/rsc/qr/web"
)
func carp(f http.HandlerFunc) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
defer func() {
if err := recover(); err != nil {
w.Header().Set("Content-Type", "text/plain... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Smugup uploads a collection of photos to SmugMug.
//
// Run 'smugup -help' for details.
package main
import (
"crypto/md5"
"flag"
"fmt"
"io/ioutil"
"l... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package smugmug uses the SmugMug API to manipulate photo albums
// stored on smugmug.com.
package smugmug
import (
"bytes"
"crypto/md5"
"encoding/json"
... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Devweb is a simple environment for developing a web server.
// It runs its own web server on the given address and proxies
// all requests to the http serve... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package slave
import (
"fmt"
"log"
"net"
"net/http"
"os"
)
func Main() {
if len(os.Args) != 2 || os.Args[1] != "LISTEN_STDIN" {
fmt.Fprintf(os.Stderr... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
QR data layout
qr/
upload/
id.png
id.fix
flag/
id
*/
// TODO: Random seed taken from GET for caching, repeatability.
// TODO: Flag for abuse butto... | Go |
package web
import (
"bytes"
"fmt"
"image"
"image/color"
"image/draw"
"image/png"
"net/http"
"strconv"
"strings"
"code.google.com/p/freetype-go/freetype"
"code.google.com/p/rsc/appfs/fs"
"code.google.com/p/rsc/qr"
"code.google.com/p/rsc/qr/coding"
)
func makeImage(req *http.Request, caption, font string... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package resize
import (
"image"
"image/color"
)
// average convert the sums to averages and returns the result.
func average(sum []uint64, w, h int, n uint6... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package coding implements low-level QR coding details.
package coding
import (
"fmt"
"strconv"
"strings"
"code.google.com/p/rsc/gf256"
)
// Field is ... | Go |
// +build ignore
package main
import "fmt"
// tables from qrencode-3.1.1/qrspec.c
var capacity = [41]struct {
width int
words int
remainder int
ec [4]int
}{
{0, 0, 0, [4]int{0, 0, 0, 0}},
{21, 26, 0, [4]int{7, 10, 13, 17}}, // 1
{25, 44, 7, [4]int{10, 16, 22, 28}},
{29, 70, 7, [4]int{15, 26, ... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package qr
// PNG writer for QR codes.
import (
"bytes"
"encoding/binary"
"hash"
"hash/crc32"
)
// PNG returns a PNG image displaying the code.
//
// PN... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Package qr encodes QR codes.
*/
package qr
import (
"errors"
"image"
"image/color"
"code.google.com/p/rsc/qr/coding"
)
// A Level denotes a QR error ... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package libqrencode wraps the C libqrencode library.
// The qr package (in this package's parent directory)
// does not use any C wrapping. This code is he... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package webdriver
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"
"time"
)
type Conn struct {
prefix string
}
type Ses... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package webdriver implements a client for the Selenium WebDriver wire protocol.
// It can be used with the ChromeDriver server and perhaps with the Selenium... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"bytes"
"crypto/sha1"
"encoding/json"
"flag"
"fmt"
"go/build"
"html/template"
"io"
"io/ioutil"
"log"
"net/http"
"os"
"os/ex... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package database implements the database for the scanning cabinet.
package database
import (
"bytes"
"database/sql"
"errors"
"fmt"
"os"
"os/exec"
"p... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Scancab is an implementation of a document scanning cabinet.
// A scanning cabinet is like a file cabinet but stores digital scans of documents
// instead o... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// TODO(rsc):
// More precise error handling.
// Presence functionality.
// TODO(mattn):
// Add proxy authentication.
// Package xmpp implements a simple Goo... | Go |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package websrv provides a stylized way to write HTTP handlers and run an HTTP server.
//
// Overview
//
// An HTTP server using package websrv registers han... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package client implements a basic appfs client.
package client
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"strings"
"time"
... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package fs is an indirection layer, allowing code to use a
// file system without knowing whether it is the host file system
// (running without App Engine)... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fs
import (
"io/ioutil"
"net/http"
"os"
"path/filepath"
"code.google.com/p/rsc/appfs/proto"
)
type context struct{}
type cacheKey struct{}
fu... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// appmount mounts an appfs file system.
package main
import (
"bytes"
"encoding/gob"
"flag"
"fmt"
"log"
"os"
"os/exec"
"path"
"strings"
"syscall"
... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package server implements an appfs server backed by the
// App Engine datastore.
package server
import (
"bytes"
"crypto/sha1"
"encoding/base64"
"enco... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// appfile is a command-line interface to an appfs file system.
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"code.google.com/p/rsc/appfs/... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package proto defines the protocol between appfs client and server.
package proto
import "time"
// An Auth appears, JSON-encoded, as the X-Appfs-Auth head... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Parsing of Arq's binary data structures.
package arq
import (
"bytes"
"encoding/binary"
"fmt"
"reflect"
"time"
)
var errMalformed = fmt.Errorf("malf... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Hist shows the history of a given file, using Arq backups.
usage: hist [-d] [-h host] [-m mtpt] [-s yyyy/mmdd] file ...
The -d flag causes it to show ... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package arq implements read-only access to Arq backups stored on S3.
// Arq is a Mac backup tool (http://www.haystacksoftware.com/arq/)
// but the package c... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package arq
import (
"crypto/aes"
"crypto/cipher"
"crypto/sha1"
"hash"
"log"
"bitbucket.org/taruti/pbkdf2.go" // TODO: Pull in copy
)
type cryptoState... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Arqfs implements a file system interface to a collection of Arq backups.
usage: arqfs [-m mtpt]
Arqfs mounts the Arq backups on the file system direct... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// On-cloud data structures
package arq
import (
"fmt"
"os"
"time"
)
// plist data structures
type computerInfo struct {
UserName string `plist:"us... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Simple demonstration of a graph interface and
// Dijkstra's algorithm built on top of that interface,
// without using inheritance.
package graph
import "... | Go |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Rosetta Code-inspired maze generator and solver.
// Demonstrates use of interfaces to separate algorithm
// implementations (graph.ShortestPath, heap.*) fro... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package keychain
/*
#include <CoreFoundation/CoreFoundation.h>
#include <Security/Security.h>
#include <CoreServices/CoreServices.h>
#cgo LDFLAGS: -framework... | Go |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package keychain implements access to the passwords and other keys
// stored in the system-provided keychain.
package keychain
// BUG(rsc): Package keychai... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2011 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2011 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2012 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2012 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2012 The Go Authors. All rights reserved.
// http://code.google.com/p/goprotobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// m... | Go |
/*
* Copyright (c) 2013 Kurt Jung (Gmail: kurt.w.jung)
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND TH... | Go |
/*
* Copyright (c) 2013 Kurt Jung (Gmail: kurt.w.jung)
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND TH... | Go |
/*
* Copyright (c) 2013 Kurt Jung (Gmail: kurt.w.jung)
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND TH... | Go |
/*
* Copyright (c) 2013-2014 Kurt Jung (Gmail: kurt.w.jung)
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.