Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Points (0.34 sec)

  1. src/bytes/bytes.go

    // It returns the byte index in s of the first Unicode
    // code point satisfying f(c), or -1 if none do.
    func IndexFunc(s []byte, f func(r rune) bool) int {
    	return indexFunc(s, f, true)
    }
    
    // LastIndexFunc interprets s as a sequence of UTF-8-encoded code points.
    // It returns the byte index in s of the last Unicode
    // code point satisfying f(c), or -1 if none do.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	registerBucketLevelFunc(bucketRouter, api, apiFunctions...)
    }
    
    // Takes in Erasure object layer, and the list of API end points to be tested/required, registers the API end points and returns the HTTP handler.
    // Need isolated registration of API end points while writing unit tests for end points.
    // All the API end points are registered only for the default case.
    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    	bucketName := minioMetaBucket
    	objectName := "config/x"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. tests/scanner_valuer_test.go

    }
    
    type NullString struct {
    	sql.NullString
    }
    
    type Point struct {
    	X, Y int
    }
    
    func (point Point) GormDataType() string {
    	return "geo"
    }
    
    func (point Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr {
    	return clause.Expr{
    		SQL:  "ST_PointFromText(?)",
    		Vars: []interface{}{fmt.Sprintf("POINT(%d %d)", point.X, point.Y)},
    	}
    }
    
    func TestGORMValuer(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. cmd/metacache-server-pool.go

    	if err := checkListObjsArgs(ctx, o.Bucket, o.Prefix, o.Marker); err != nil {
    		return entries, err
    	}
    
    	// Marker points to before the prefix, just ignore it.
    	if o.Marker < o.Prefix {
    		o.Marker = ""
    	}
    
    	// Marker is set validate pre-condition.
    	if o.Marker != "" && o.Prefix != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    	if d.directorySize > maxInt64 || d.directoryOffset > maxInt64 {
    		return nil, 0, ErrFormat
    	}
    
    	baseOffset = directoryEndOffset - int64(d.directorySize) - int64(d.directoryOffset)
    
    	// Make sure directoryOffset points to somewhere in our file.
    	if o := baseOffset + int64(d.directoryOffset); o < 0 || o >= size {
    		return nil, 0, ErrFormat
    	}
    
    	// If the directory end data tells us to use a non-zero baseOffset,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate.go

    	we, ok := w.(*multierror.Error)
    	if ok {
    		we.ErrorFormat = func(i []error) string {
    			points := make([]string, len(i))
    			for i, err := range i {
    				points[i] = fmt.Sprintf("* %s", err)
    			}
    
    			return fmt.Sprintf(
    				"\n\t%s\n",
    				strings.Join(points, "\n\t"))
    		}
    	}
    	return w.Error()
    }
    
    func transformInterfaceArray(in []any) []any {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck.go

    			return nil, err
    		}
    	}
    	return messages, nil
    }
    
    func checkTracing(cli kube.CLIClient, messages *diag.Messages) error {
    	// In 1.22, we remove the default tracing config which points to zipkin.istio-system
    	// This has no effect for users, unless they have this service.
    	svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. cmd/service.go

    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	} else {
    		// Explicitly set 127.0.0.1 so Console will automatically bypass TLS verification to the local S3 API.
    		// This will save users from providing a certificate with IP or FQDN SAN that points to the local host.
    		os.Setenv("CONSOLE_MINIO_SERVER", fmt.Sprintf("%s://127.0.0.1:%s", getURLScheme(globalIsTLS), globalMinioPort))
    	}
    	if value := env.Get(config.EnvMinIOLogQueryURL, ""); value != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top