Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 2,572 for Creates (0.18 sec)

  1. internal/event/target/redis.go

    	target.firstPing = true
    
    	yes, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	if !yes {
    		return store.ErrNotConnected
    	}
    
    	return nil
    }
    
    // NewRedisTarget - creates new Redis target.
    func NewRedisTarget(id string, args RedisArgs, loggerOnce logger.LogOnce) (*RedisTarget, error) {
    	var queueStore store.Store[event.Event]
    	if args.QueueDir != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStats.java

        xStats.writeTo(buffer);
        yStats.writeTo(buffer);
        buffer.putDouble(sumOfProductsOfDeltas);
        return buffer.array();
      }
    
      /**
       * Creates a {@link PairedStats} instance from the given byte representation which was obtained by
       * {@link #toByteArray}.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    				r.bufferPool.Put(in.input)
    				in.input = nil
    				in.dst <- all
    			}
    		}()
    	}
    	return nil
    }
    
    // NewReader - creates new CSV reader using readCloser.
    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) (*Reader, error) {
    	if args == nil || args.IsEmpty() {
    		panic(fmt.Errorf("empty args passed %v", args))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       * @return the value with the specified row and column
       * @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than
       *     or equal to the number of allowed row keys, or {@code columnIndex} is greater than or equal
       *     to the number of allowed column keys
       */
      @CheckForNull
      public V at(int rowIndex, int columnIndex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. internal/event/target/mqtt.go

    		return token.Error()
    	}
    
    	yes, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	if !yes {
    		return store.ErrNotConnected
    	}
    
    	return nil
    }
    
    // NewMQTTTarget - creates new MQTT target.
    func NewMQTTTarget(id string, args MQTTArgs, loggerOnce logger.LogOnce) (*MQTTTarget, error) {
    	if args.MaxReconnectInterval == 0 {
    		// Default interval
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        return SortedMultisetTestSuiteBuilder.using(
                new ForwardingTestMultisetGenerator<E>(delegate) {
                  @Override
                  public SortedMultiset<E> create(Object... entries) {
                    return ((SortedMultiset<E>) super.create(entries)).descendingMultiset();
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    }
    
    // Close - closes opened S3 object.
    func (s3Select *S3Select) Close() error {
    	if s3Select.recordReader == nil {
    		return nil
    	}
    	return s3Select.recordReader.Close()
    }
    
    // NewS3Select - creates new S3Select by given request XML reader.
    func NewS3Select(r io.Reader) (*S3Select, error) {
    	s3Select := &S3Select{}
    	if err := xml.NewDecoder(r).Decode(s3Select); err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. internal/config/lambda/target/webhook.go

    	yes, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	if !yes {
    		return errNotConnected
    	}
    
    	return nil
    }
    
    // NewWebhookTarget - creates new Webhook target.
    func NewWebhookTarget(ctx context.Context, id string, args WebhookArgs, loggerOnce logger.LogOnce, transport *http.Transport) (*WebhookTarget, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top