Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,955 for cash (0.08 sec)

  1. internal/lock/lock_test.go

    			t.Error(blerr)
    			return
    		}
    	}()
    
    	select {
    	case <-locked:
    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    	select {
    	case <-locked:
    	case <-time.After(1 * time.Second):
    		t.Error("unexpected blocking")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    			logger = logger.WithLabels(k, v)
    		}
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			logger.LogWithTime(istiolog.DebugLevel, m.Msg, m.Time)
    		case "info":
    			logger.LogWithTime(istiolog.InfoLevel, m.Msg, m.Time)
    		case "warn":
    			logger.LogWithTime(istiolog.WarnLevel, m.Msg, m.Time)
    		case "error":
    			logger.LogWithTime(istiolog.ErrorLevel, m.Msg, m.Time)
    		}
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    	for {
    		var (
    			ok    bool
    			entry any
    		)
    
    		if count < h.batchSize {
    			tickered := false
    			select {
    			case _ = <-ticker.C:
    				tickered = true
    			case entry, _ = <-globalBuffer:
    			case entry, ok = <-h.logCh:
    				if !ok {
    					return
    				}
    			case <-ctx.Done():
    				return
    			}
    
    			if !tickered {
    				h.totalMessages.Add(1)
    				if !isDirQueue {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    	// fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence)
    	switch whence {
    	case io.SeekStart:
    		rsc.offset = offset
    	case io.SeekCurrent:
    		rsc.offset += offset
    	case io.SeekEnd:
    		rsc.offset = rsc.size + offset
    	}
    	if rsc.offset < 0 {
    		return rsc.offset, errors.New("seek to invalid negative offset")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    	var cred auth.Credentials
    	var owner bool
    	switch getRequestAuthType(r) {
    	case authTypeUnknown, authTypeStreamingSigned:
    		return ErrSignatureVersionNotSupported
    	case authTypePresignedV2, authTypeSignedV2:
    		if s3Err = isReqAuthenticatedV2(r); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV2(r)
    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region()
    		switch action {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. tests/serializer_test.go

    type EncryptedString string
    
    func (es *EncryptedString) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) {
    	switch value := dbValue.(type) {
    	case []byte:
    		*es = EncryptedString(bytes.TrimPrefix(value, []byte("hello")))
    	case string:
    		*es = EncryptedString(strings.TrimPrefix(value, "hello"))
    	default:
    		return fmt.Errorf("unsupported data %#v", dbValue)
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. ci/official/utilities/cleanup_docker.sh

    #!/bin/bash
    # Copyright 2023 The TensorFlow Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 10 20:26:29 UTC 2023
    - 998 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NullnessCasts.java

       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (Even if supported added {@code @NonNull}, that would not help, since the problem case
       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top