code stringlengths 10 1.34M | language stringclasses 1
value |
|---|---|
// Copyright 2010 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 html
// All entities that do not end with ';' are 6 or fewer bytes long.
const longestEntityWithoutSemicolon = 6
// entity is a map from HTML entity n... | Go |
// Copyright 2010 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 html implements an HTML5-compliant tokenizer and parser.
Tokenization is done by creating a Tokenizer for an io.Reader r. It is the
caller's respons... | 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 atom provides integer codes (also known as atoms) for a fixed set of
// frequently occurring HTML strings: tag names and attribute keys such as "p"
/... | 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.
// +build ignore
package main
// This program generates table.go and table_test.go.
// Invoke as
//
// go run gen.go |gofmt >table.go
// go run gen.go -test |... | Go |
package main
import (
"encoding/xml"
"fmt"
"net/http"
"net/url"
"regexp"
"time"
)
const (
googleCodesiteURL = "http://code.google.com/"
googleCodesiteTimeLayout = "Wed Sep 28 15:04:05 2006"
ActivityGoogleCodesiteReporte = "GoogleCodesiteReport"
ActivityGoogleCodesiteChange = "GoogleCodesiteChange"
Activ... | Go |
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"regexp"
"strings"
"time"
)
const (
chromiumStatusURL = "http://chromium-status.appspot.com/allstatus?format=json"
timeLayout = "2006-01-02 15:04:05"
)
var (
autoCloserRegexp = regexp.MustCompile(`Tree is closed \(Automatic: .* on .* f... | Go |
package main
import (
"encoding/json"
"flag"
"fmt"
"net/http"
"net/url"
"regexp"
"strconv"
"strings"
"time"
)
const (
chromiumBuildbot = "http://build.chromium.org/p/chromium/json"
// Buildbot/builders/<builder>/builds/<buildnum> => BuildData
)
var (
bugRegexp = regexp.MustCompile("\nBUG=([0-9, ]... | Go |
package yolo
import (
"appengine"
"fmt"
"net/http"
"net/url"
"regexp"
"strconv"
"strings"
"time"
)
const (
rietveldTimeoutLayout = "2006-01-02 15:04:05"
rietveldExcludeUser = "commit-bot@chromium.org"
rietveldUpdateFetchMaxIssues = 20
)
func init() {
RegisterPoller(SiteRietveldChromium, NewRietveldPoll... | Go |
package yolo
import (
"appengine/datastore"
"html"
"net/http"
"html/template"
"strings"
"time"
)
type AdminPage struct {
writer http.ResponseWriter
XsrfToken string
}
func NewAdminPage(w http.ResponseWriter, r *http.Request) *AdminPage {
page := new(AdminPage)
page.writer = w
return page
}
type PollConte... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"appengine/user"
"encoding/json"
"fmt"
"net/http"
"regexp"
"time"
)
const numItemsPerPage = 20
func init() {
http.HandleFunc("/", topPage)
http.HandleFunc("/yolo/yolo-token.js", getTokenJS)
http.HandleFunc("/ajax/tree_status", getTreeStatus)
http.H... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"fmt"
"strings"
"time"
)
const (
issueMaxDescriptionLength = 200
)
func init() {
RegisterCacheableType(Issue{})
}
func CreateIssueId(siteURL, issueId interface{}) string {
return fmt.Sprintf("%s/%v", siteURL, issueId)
}
func ParseIssueId(c appengine.C... | Go |
package yolo
import (
"appengine"
"appengine/urlfetch"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"regexp"
"runtime"
"strconv"
"time"
)
type yoloErrorString string
type YoloError struct {
file string
line int
message string
}
func (e YoloError) Error() string {
return fmt.Sprintf("%s:%v: %Ts", e.file... | Go |
package yolo
import (
"appengine"
"appengine/memcache"
"appengine/taskqueue"
"appengine/urlfetch"
"encoding/json"
"fmt"
"net/http"
"net/url"
"regexp"
"strconv"
"strings"
"time"
)
const (
chromiumBuildbot = "http://build.chromium.org/p/chromium/json"
chromiumBuildbotSiteURL = "build.chromium.org"
// Bui... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"appengine/taskqueue"
"encoding/json"
"fmt"
"net/http"
"regexp"
"sort"
"strings"
"time"
)
type ActivityNotifier func(c appengine.Context, a *ActivityData)
var activityNotifiers = map[string]ActivityNotifier{} // type -> notifier
func init() {
http.Ha... | Go |
package yolo
import (
"appengine"
"appengine/taskqueue"
"appengine/urlfetch"
"encoding/json"
"fmt"
"net/http"
"net/url"
"regexp"
"strconv"
"strings"
"time"
)
const (
chromiumStatusURL = "http://chromium-status.appspot.com/allstatus?format=json"
chromiumStatusTimeLayout = "2006-01-02 15:04:05"
A... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"appengine/memcache"
"appengine/taskqueue"
"encoding/json"
"fmt"
"net/http"
"reflect"
"strings"
"time"
)
func init() {
// Flush the memcache to the datastore.
http.HandleFunc("/worker/cache_flush", handleCacheFlush)
}
var types = make(map[string]ref... | Go |
package yolo
import (
"appengine"
"appengine/memcache"
"encoding/json"
)
type TryConflictError struct {
message string
}
func (err TryConflictError) Error() string {
return err.message
}
var TryConflictErr = TryConflictError{message: "TryConflict error!"}
type CounterData struct {
Count int
}
type Counter s... | Go |
package yolo
import (
"appengine"
"appengine/taskqueue"
"time"
)
type PostParams map[string][]string
func mayPostTask(c appengine.Context, url string, qname string, params PostParams, max int) (bool, error) {
counter := &Counter{url + "-queue-cnt"}
if v, _ := counter.Increment(c); v > max {
counter.Decrement... | Go |
package yolo
import (
"appengine"
"net/mail"
)
const (
)
type MailProcessor interface {
ShouldProcess(c appengine.Context, msg *mail.Message) bool
Process(c appengine.Context, msg *mail.Message)
}
var mailProcessors = make([]MailProcessor, 0)
func RegisterMailProcessor(mp MailProcessor) {
mailProcessors = app... | Go |
package yolo
import (
"appengine"
"appengine/channel"
"appengine/datastore"
"appengine/memcache"
"crypto/rand"
"encoding/base64"
"io"
"net/http"
"time"
)
func init() {
// for channel_presence (from=<token>)
http.HandleFunc("/_ah/channel/connected/", channelConnected)
http.HandleFunc("/_ah/channel/disconne... | Go |
package yolo
import (
"appengine"
"appengine/taskqueue"
"appengine/urlfetch"
"bytes"
"encoding/xml"
"fmt"
"net/http"
"net/mail"
"net/url"
"regexp"
"strconv"
"time"
)
const (
googleCodesiteURL = "code.google.com"
googleCodesiteTimeLayout = "Wed Sep 28 15:04:05 2006"
ActivityGoogleCodesiteReport = "Goo... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"fmt"
"time"
)
func init() {
RegisterCacheableType(UserActivities{})
RegisterCacheableType(UserCommits{})
}
type User struct {
Email string
}
func NewUser(email string) *User {
return &User{email}
}
func AddUser(c appengine.Context, email string) erro... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"appengine/memcache"
"appengine/taskqueue"
"fmt"
"net/http"
"net/mail"
"strings"
"strconv"
"time"
)
func init() {
http.HandleFunc("/admin/", showAdminTop)
// Proof of concept, no fancy UI
http.HandleFunc("/admin/users", listUsers)
http.HandleFunc(... | Go |
package yolo
import (
"appengine"
"appengine/datastore"
"appengine/taskqueue"
"fmt"
"net/http"
"strings"
"time"
)
func init() {
// Poller task handlers: it takes key=PollContext.Key(c) parameter and
// stops running if PollContext.Stopped is marked true.
http.HandleFunc("/worker/poller_run_task", handlePoll... | Go |
package yolo
const (
SiteRietveldChromium = "codereview.chromium.org"
SiteRietveldAppspot = "codereview.appspot.com"
SiteBugzillaWebKit = "bugs.webkit.org"
SiteGoogleCodesite = "code.google.com"
)
func GetSupportedSites() []string {
sites := make([]string, 0)
sites = append(sites, SiteRietveldChromium)
sites =... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
/*
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disc... | Go |
// Copyright 2013 <chaishushan{AT}gmail.com>. 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 (
"fmt"
"log"
"net/rpc"
"code.google.com/p/protorpc"
"code.google.com/p/protorpc/service.pb"
"code.google.com/p/goprotob... | Go |
// Copyright 2013 <chaishushan{AT}gmail.com>. 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 (
"errors"
"log"
"net"
"net/rpc"
"code.google.com/p/protorpc"
"code.google.com/p/protorpc/service.pb"
"code.google.com/... | Go |
// Tideland Common Go Library - Map/Reduce
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Map/Reduce is an algorithm for the processing and aggregating
// mass data.
//
// The data has to be provided via a... | Go |
// Tideland Common Go Library - Map/Reduce
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package mapreduce
//--------------------
// IMPORTS
//--------------------
import (
"hash/adler32"
"code.google.com... | Go |
// Tideland Common Go Library - Time
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package time
//--------------------
// IMPORTS
//--------------------
import (
"time"
)
//--------------------
// CONST
/... | Go |
// Tideland Common Go Library - Time
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Time is a helpful package for working with times and dates.
package time
// EOF
| Go |
// Tideland Common Go Library - Sort
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package sort
//--------------------
// IMPORTS
//--------------------
import (
"runtime"
"sort"
)
//--------------------... | Go |
// Tideland Common Go Library - Sort
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// The sort package provides a parallel quicksort.
//
// It uses the same interface as the standard sort package.
package sor... | Go |
// Tideland Common Go Library - Simple Markup Language
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package markup
//--------------------
// IMPORTS
//--------------------
import (
"bufio"
"bytes"
"erro... | Go |
// Tideland Common Go Library - Simple Markup Language
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Simple Markup Language is a very simple markup using a kind
// of LISP like notation with curly braces. ... | Go |
// Tideland Common Go Library - Identifier
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package identifier
//--------------------
// IMPORTS
//--------------------
import (
"bytes"
"crypto/rand"
"fmt"
... | Go |
// Tideland Common Go Library - Identifier
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Identifier provides different ways to produce identifiers
// like UUIDs.
//
// The UUID generation follows version ... | Go |
// Tideland Common Go Library - Utilities
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package util
//--------------------
// IMPORTS
//--------------------
import (
"fmt"
"reflect"
)
//----------------... | Go |
// Tideland Common Go Library - Utilities
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// The utilities are just a bunch of simple but helpful functions
// and types which are not big enough to build own pac... | Go |
// Tideland Common Go Library - Numerics
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Numerics contains some functions to support statistical
// analyzis.
package numerics
// EOF
| Go |
// Tideland Common Go Library - Numerics
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package numerics
//--------------------
// IMPORTS
//--------------------
import (
"fmt"
"math"
"sort"
)
//--------... | Go |
// Tideland Common Go Library - Application Log
//
// Copyright (C) 2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package applog
//--------------------
// IMPORTS
//--------------------
import (
"fmt"
"io"
"os"
"path"
"runtime... | Go |
// Tideland Common Go Library - Application Log
//
// Copyright (C) 2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// The applog package provides a simple logging interface.
// It contains a standard logger based on the Go log package... | Go |
// Tideland Common Go Library - Asserts
//
// Copyright (C) 2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package asserts
//--------------------
// IMPORTS
//--------------------
import (
"bytes"
"fmt"
"path"
"reflect"
"regexp... | Go |
// Tideland Common Go Library - Asserts
//
// Copyright (C) 2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// Asserts is a helper mostly for tests comparing expected and
// obtained values. It can also be used in regular packages and
... | Go |
// Tideland Common Go Library - Finite State Machine
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package state
//--------------------
// IMPORTS
//--------------------
import (
"fmt"
"reflect"
"strings... | Go |
// Tideland Common Go Library - Finite State Machine
//
// Copyright (C) 2009-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
// The state package provides a universal finite state machine.
//
// It uses a type implementing methods wit... | Go |
// Tideland Common Go Library - Cells - Behaviors
//
// Copyright (C) 2010-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package cells
//--------------------
// IMPORTS
//--------------------
import (
"code.google.com/p/tcgl/applo... | Go |
// Tideland Common Go Library - Cells - Utilities
//
// Copyright (C) 2010-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package cells
//--------------------
// IMPORTS
//--------------------
import (
"sort"
"time"
)
//---------... | Go |
// Tideland Common Go Library - Cells
//
// Copyright (C) 2010-2012 Frank Mueller / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
package cells
//--------------------
// IMPORTS
//--------------------
import (
"code.google.com/p/tcgl/applog"
"code.go... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.