- Sort Score
- Num 10 results
- Language All
Results 1081 - 1090 of 1,838 for _new (0.05 seconds)
-
docs/debugging/reorder-disks/main.go
if err != nil { return nil, err } defer mountInfo.Close() scanner := bufio.NewScanner(mountInfo) for scanner.Scan() { s := strings.Split(scanner.Text(), " ") if len(s) != 11 { return nil, errors.New("unsupported /proc/self/mountinfo format") } result[s[2]] = s[9] } if err := scanner.Err(); err != nil { return nil, err } return result, nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
internal/http/transports.go
tr := s.getDefaultTransport(0) // Settings specific to this transport. tr.ResponseHeaderTimeout = timeout return tr } // NewHTTPTransportWithClientCerts returns a new http configuration used for // communicating with client cert authentication. func (s ConnSettings) NewHTTPTransportWithClientCerts(ctx context.Context, clientCert, clientKey string) (*http.Transport, error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/bucket-targets.go
func newHCClient() *madmin.AnonymousClient { clnt, e := madmin.NewAnonymousClientNoEndpoint() if e != nil { bugLogIf(GlobalContext, errors.New("Unable to initialize health check client")) return nil } clnt.SetCustomTransport(globalRemoteTargetTransport) return clnt } // heartBeat performs liveness check on remote endpoints.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.9K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
returns r and 0. func (r *Element) SqrtRatio(u, v *Element) (R *Element, wasSquare int) { t0 := new(Element) // r = (u * v3) * (u * v7)^((p-5)/8) v2 := new(Element).Square(v) uv3 := new(Element).Multiply(u, t0.Multiply(v2, v)) uv7 := new(Element).Multiply(uv3, t0.Square(v2)) rr := new(Element).Multiply(uv3, t0.Pow22523(uv7)) check := new(Element).Multiply(v, t0.Square(rr)) // check = v * r^2 uNeg := new(Element).Negate(u) correctSignSqrt := check.Equal(u) flippedSignSqrt := check.Equal(uNeg) flippedSignSqrtI...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
if (Objects.requireNonNull(groupId, "groupId cannot be null").isEmpty()) { throw new IllegalArgumentException("groupId cannot be empty"); } if (Objects.requireNonNull(artifactId, "artifactId cannot be null").isEmpty()) { throw new IllegalArgumentException("artifactId cannot be empty"); } if (model != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
docs/sts/assume-role.go
// New returns an MinIO Admin client object. madmClnt, err := madmin.NewWithOptions(stsEndpointURL.Host, mopts) if err != nil { log.Fatalln(err) } err = madmClnt.ServiceRestart(context.Background()) if err != nil { log.Fatalln(err) } // Use generated credentials to authenticate with MinIO server minioClient, err := minio.New(stsEndpointURL.Host, opts) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
README.md
# Maintenance Mode **This project is currently under maintenance and is not accepting new changes.** - The codebase is in a maintenance-only state - No new features, enhancements, or pull requests will be accepted - Critical security fixes may be evaluated on a case-by-case basis - Existing issues and pull requests will not be actively reviewed - Community support continues on a best-effort basis through [Slack](https://slack.min.io)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Dec 03 08:13:11 GMT 2025 - 9K bytes - Click Count (0) -
internal/event/target/mysql.go
if m.Database == "" { return fmt.Errorf("database unspecified") } } if m.QueueDir != "" { if !filepath.IsAbs(m.QueueDir) { return errors.New("queueDir path should be absolute") } } if m.MaxOpenConnections < 0 { return errors.New("maxOpenConnections cannot be less than zero") } return nil } // MySQLTarget - MySQL target. type MySQLTarget struct { initOnce once.InitCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 11.6K bytes - Click Count (0) -
cmd/erasure-coding.go
) // Erasure - erasure encoding details. type Erasure struct { encoder func() reedsolomon.Encoder dataBlocks, parityBlocks int blockSize int64 } // NewErasure creates a new ErasureStorage. func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) { // Check the parameters for sanity now. if dataBlocks <= 0 || parityBlocks < 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.5K bytes - Click Count (0) -
internal/ioutil/ioutil.go
type AlignedBytePool struct { size int p bpool.Pool[*[]byte] } // NewAlignedBytePool creates a new pool with the specified size. func NewAlignedBytePool(sz int) *AlignedBytePool { return &AlignedBytePool{size: sz, p: bpool.Pool[*[]byte]{New: func() *[]byte { b := disk.AlignedBlock(sz) return &b }}} } // aligned sync.Pool's var (Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0)