Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 510 for itos (0.16 sec)

  1. misc/ios/go_ios_exec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool.
    // It executes binaries on an iOS device using the XCode toolchain
    // and the ios-deploy program: https://github.com/phonegap/ios-deploy
    //
    // This script supports an extra flag, -lldb, that pauses execution
    // just before the main program begins and allows the user to control
    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)
  2. internal/http/listener_test.go

    rr3DRiUP6V/10CZ/ImeSJ72k69VuTw9vq2HzB4x6pqxF2X7JQSLUCS2wfNN13N0d
    9A==
    -----END CERTIFICATE-----`)
    
    	return tls.X509KeyPair(certPEMBlock, keyPEMBlock)
    }
    
    func getNextPort() string {
    	return strconv.Itoa(int(atomic.AddUint32(&serverPort, 1)))
    }
    
    func getNonLoopBackIP(t *testing.T) string {
    	localIP4 := set.NewStringSet()
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	}
    
    	query.Set(xhttp.AmzAlgorithm, signV4Algorithm)
    
    	// Construct the query.
    	query.Set(xhttp.AmzDate, t.Format(iso8601Format))
    	query.Set(xhttp.AmzExpires, strconv.Itoa(expireSeconds))
    	query.Set(xhttp.AmzSignedHeaders, strings.Join(pSignValues.SignedHeaders, ";"))
    	query.Set(xhttp.AmzCredential, cred.AccessKey+SlashSeparator+pSignValues.Credential.getScope())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    			parityDrives = len(onlineDisks) / 2
    		}
    
    		if parityOrig != parityDrives {
    			userDefined[minIOErasureUpgraded] = strconv.Itoa(parityOrig) + "->" + strconv.Itoa(parityDrives)
    		}
    	}
    
    	dataDrives := len(onlineDisks) - parityDrives
    
    	// we now know the number of blocks this object needs for data and parity.
    	// establish the writeQuorum using this data
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. internal/config/notify/legacy.go

    		config.KV{
    			Key:   target.KafkaQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.KafkaTLS,
    			Value: config.FormatBool(cfg.TLS.Enable),
    		},
    		config.KV{
    			Key:   target.KafkaTLSSkipVerify,
    			Value: config.FormatBool(cfg.TLS.SkipVerify),
    		},
    		config.KV{
    			Key:   target.KafkaTLSClientAuth,
    			Value: strconv.Itoa(int(cfg.TLS.ClientAuth)),
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    	_, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(buf)))
    	w.Write(buf)
    }
    
    // ReadFileStreamHandler - read section of a file.
    func (s *storageRESTServer) ReadFileStreamHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    		}
    	}
    }
    
    // TestParsePreSignV4 - Validates the parsing logic of Presignied v4 request from its url query values.
    func TestParsePreSignV4(t *testing.T) {
    	// converts the duration in seconds into string format.
    	getDurationStr := strconv.Itoa
    
    	// used in expected preSignValues, preSignValues.Date is of type time.Time .
    	queryTime := UTCNow()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  8. internal/grid/benchmark_test.go

    	"strconv"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func BenchmarkRequests(b *testing.B) {
    	for n := 2; n <= 32; n *= 2 {
    		b.Run("servers="+strconv.Itoa(n), func(b *testing.B) {
    			benchmarkGridRequests(b, n)
    		})
    	}
    }
    
    func benchmarkGridRequests(b *testing.B, n int) {
    	defer testlogger.T.SetErrorTB(b)()
    	errFatal := func(err error) {
    		b.Helper()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    			RespElements: map[string]string{"x-minio-versions": strconv.Itoa(len(objInfos))},
    		})
    
    		auditLogInternal(context.Background(), AuditLogOptions{
    			Event:   "scanner:manyversions",
    			APIName: "Scanner",
    			Bucket:  i.bucket,
    			Object:  i.objectPath(),
    			Tags: map[string]interface{}{
    				"x-minio-versions": strconv.Itoa(len(objInfos)),
    			},
    		})
    	}
    
    	cumulativeSize := int64(0)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    	values.Set(storageRESTOffset, strconv.Itoa(int(offset)))
    	values.Set(storageRESTLength, strconv.Itoa(int(length)))
    	respBody, err := client.call(ctx, storageRESTMethodReadFileStream, values, nil, -1)
    	if err != nil {
    		return nil, err
    	}
    	return respBody, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top