Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,574 for retorno (0.09 sec)

  1. cmd/local-locker.go

    		lockCopy[k] = append(make([]lockRequesterInfo, 0, len(v)), v...)
    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_function.h

      explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
      AbstractFunctionKind getKind() const { return kind_; }
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual absl::Status GetFunctionDef(const FunctionDef**) = 0;
    
      // Returns a shared reference to the wrapped function.
      virtual absl::StatusOr<core::RefCountPtr<FunctionRecord>>
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/measurement.go

    func (m *bucketMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    	m.lock.Lock()
    	defer m.lock.Unlock()
    	return m.expMovingAvg
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. cmd/tier_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "Tiers")
    					return
    				}
    				err = za0002.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers", za0001)
    					return
    				}
    				z.Tiers[za0001] = za0002
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. cmd/site-replication-metrics_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z RStat) Msgsize() (s int) {
    	s = 1 + 6 + msgp.Int64Size + 6 + msgp.Int64Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *RTimedMetrics) DecodeMsg(dc *msgp.Reader) (err error) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  6. cmd/notification.go

    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    // The first call to return a non-nil error will be
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  7. internal/config/lambda/target/webhook.go

    	cancel     context.CancelFunc
    	cancelCh   <-chan struct{}
    }
    
    // ID - returns target ID.
    func (target *WebhookTarget) ID() event.TargetID {
    	return target.id
    }
    
    // IsActive - Return true if target is up and active
    func (target *WebhookTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. cmd/bucket-quota.go

    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return
    }
    
    func (sys *BucketQuotaSys) enforceQuotaHard(ctx context.Context, bucket string, size int64) error {
    	if size < 0 {
    		return nil
    	}
    
    	q, err := sys.Get(ctx, bucket)
    	if err != nil {
    		return err
    	}
    
    	var quotaSize uint64
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. internal/s3select/sql/stringfuncs.go

    			}
    			s = []rune{}
    
    		case escape:
    			if i == patLen-1 {
    				return false, errMalformedEscapeSequence
    			}
    			// Otherwise do nothing.
    
    		default:
    			s = append(s, r)
    		}
    
    	}
    	if hasLeadingPercent {
    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. internal/grid/stream.go

    }
    
    // Send a payload to the remote server.
    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    		return errors.New("stream does not accept requests")
    	}
    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top