Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,207 for varr (0.09 sec)

  1. cmd/dummy-data-generator_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"testing"
    )
    
    var alphabets = []byte("abcdefghijklmnopqrstuvwxyz0123456789")
    
    // DummyDataGen returns a reader that repeats the bytes in `alphabets`
    // upto the desired length.
    type DummyDataGen struct {
    	b           []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/arena/arena.go

    // not be used after the arena is freed. Accessing the underlying storage of the
    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-free-version_test.go

    	tierfi.VersionID = ""
    	fatalErr(xl.AddVersion(tierfi))
    	report()
    	tierfi.TransitionStatus = lifecycle.TransitionComplete
    	tierfi.TransitionedObjName = mustGetUUID()
    	tierfi.TransitionTier = "MINIOTIER-1"
    	var err error
    	_, err = xl.DeleteVersion(tierfi)
    	fatalErr(err)
    	report()
    
    	fvIDs := []string{
    		"00000000-0000-0000-0000-0000000000f1",
    		"00000000-0000-0000-0000-0000000000f2",
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

    @Timeout(30)
    @Tag("Slow")
    class WholeOperationTimeoutTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private val client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
      }
    
      @Test
      fun defaultConfigIsNoTimeout() {
        val request =
          Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque()
    
      private val forbiddenLocks = mutableListOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. internal/s3select/json/preader.go

    					dst = make([]jstream.KVS, 0, 1000)
    				}
    
    				d := jstream.NewDecoder(bytes.NewBuffer(in.input), 0).ObjectAsKVS().MaxDepth(100)
    				stream := d.Stream()
    				all := dst[:0]
    				for mv := range stream {
    					var kvs jstream.KVS
    					if mv.ValueType == jstream.Object {
    						// This is a JSON object type (that preserves key
    						// order)
    						kvs = mv.Value.(jstream.KVS)
    					} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. cmd/http-tracer.go

    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/mcontext"
    )
    
    var ldapPwdRegex = regexp.MustCompile("(^.*?)LDAPPassword=([^&]*?)(&(.*?))?$")
    
    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            // this relies heavily on the equals() and hashCode() for ComponentDescriptor,
            // which uses role:roleHint for identity...and roleHint == goalPrefix:goal.
            // role does not vary for Mojos.
            List<MojoDescriptor> mojos = getMojos();
    
            if (mojos != null && mojos.contains(mojoDescriptor)) {
                int indexOf = mojos.indexOf(mojoDescriptor);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. fastapi/encoders.py

                return encoder(obj)
    
        try:
            data = dict(obj)
        except Exception as e:
            errors: List[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
            include=include,
            exclude=exclude,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/config-current.go

    			Description: "[DEPRECATED - use `policy_plugin` instead] enable external OPA for policy enforcement",
    		},
    	}
    
    	config.RegisterHelpDeprecatedSubSys(deprecatedHelpKVMap)
    }
    
    var (
    	// globalServerConfig server config.
    	globalServerConfig   config.Config
    	globalServerConfigMu sync.RWMutex
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top