- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 545 for MAIN (0.02 sec)
-
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0) -
cni/cmd/istio-cni/main.go
// parses prevResult according to the cniVersion package main import ( "fmt" "os" "github.com/containernetworking/cni/pkg/skel" "github.com/containernetworking/cni/pkg/version" "istio.io/istio/cni/pkg/plugin" "istio.io/istio/pkg/log" istioversion "istio.io/istio/pkg/version" ) func main() { if err := runPlugin(); err != nil { os.Exit(1) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 2K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" "bytes" "flag" "fmt" "log" "math" "os" "path" "regexp" "strconv" "strings" "time" ) var ( goroutinesRE, searchRE *regexp.Regexp
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" "bytes" "encoding/binary" "flag" "fmt" "hash/crc32" "log" "os" "strings" "github.com/dchest/siphash" "github.com/google/uuid" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
cni/cmd/install-cni/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "context" "os" "os/signal" "syscall" "istio.io/istio/cni/pkg/cmd" "istio.io/istio/pkg/log" ) func main() { // Create context that cancels on termination signal ctx, cancel := context.WithCancel(context.Background()) sigChan := make(chan os.Signal, 1)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "context" "crypto/sha256" "flag" "fmt" "hash" "io" "log" "net/url" "os" "strings" "sync" "time" "github.com/minio/minio-go/v7"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 22 15:12:47 UTC 2022 - 8.4K bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "fmt" "os" // import all known client auth plugins _ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil { fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.1K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "context" "crypto/md5" "flag" "fmt" "io" "log" "net/url" "os" "path" "strconv" "strings" "time" "github.com/minio/minio-go/v7"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/addr2line/main.go
// of the source code corresponding to that address. // // This tool is intended for use only by pprof; its interface may change or // it may be deleted entirely in future releases. package main import ( "bufio" "flag" "fmt" "log" "os" "strconv" "strings" "cmd/internal/objfile" "cmd/internal/telemetry/counter" ) func printUsage(w *os.File) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/asm/main.go
// license that can be found in the LICENSE file. package main import ( "bufio" "flag" "fmt" "internal/buildcfg" "log" "os" "cmd/asm/internal/arch" "cmd/asm/internal/asm" "cmd/asm/internal/flags" "cmd/asm/internal/lex" "cmd/internal/bio" "cmd/internal/obj" "cmd/internal/objabi" "cmd/internal/telemetry/counter" ) func main() { log.SetFlags(0) log.SetPrefix("asm: ")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.9K bytes - Viewed (0)