Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lib (0.14 sec)

  1. internal/event/target/postgresql.go

    package target
    
    import (
    	"context"
    	"database/sql"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	_ "github.com/lib/pq" // Register postgres driver
    
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. cni/pkg/ipset/ipset.go

    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
    // doesn't support creating `list:set` types yet (is in main branch tho).
    // So this will actually create 2 underlying ipsets, one for v4 and one for v6
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file.
    //
    // Instead, we traverse the procfs. Comments on this method are inline.
    func getPodNetNs(pod *corev1.Pod) (string, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format_test.go

    			t.Errorf("Expected the value for Meta data key \"%s\" to be \"%s\", but got \"%s\".", key, val, jsoniterVal)
    		}
    
    	}
    }
    
    // Tests the correctness of constructing XLMetaV1 using jsoniter lib.
    // The result will be compared with the result obtained from json.unMarshal of the byte data.
    func TestGetXLMetaV1Jsoniter1(t *testing.T) {
    	xlMetaJSON := getXLMetaBytes(1)
    
    	var unMarshalXLMeta xlMetaV1Object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. tests/postgres_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/lib/pq"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPostgresReturningIDWhichHasStringType(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  6. src/cmd/cgo/doc.go

    	possibly version in the dynamic library, and the optional "<library>"
    	names the specific library where the symbol should be found.
    
    	On AIX, the library pattern is slightly different. It must be
    	"lib.a/obj.o" with obj.o the member of this library exporting
    	this symbol.
    
    	In the <remote>, # or @ can be used to introduce a symbol version.
    
    	Examples:
    	//go:cgo_import_dynamic puts
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    		// As we move the working directory to the GOROOT pkg directory, we
    		// install the zoneinfo.zip file in the pkgpath.
    		err := cp(
    			filepath.Join(dstbase, pkgpath),
    			filepath.Join(cwd, "lib", "time", "zoneinfo.zip"),
    		)
    		if err != nil {
    			return "", err
    		}
    		// Copy src/runtime/textflag.h for (at least) Test386EndToEnd in
    		// cmd/asm/internal/asm.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top