Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2451 - 2460 of 4,785 for New (0.07 sec)

  1. internal/logger/target/http/http.go

    					if !ok {
    						break drain
    					}
    					logChBuffers[newTgt.Name()] <- v
    				default:
    					break drain
    				}
    			}
    		}
    	}
    }
    
    // New initializes a new logger target which
    // sends log over http to the specified endpoint
    func New(config Config) (*Target, error) {
    	maxWorkers := maxWorkers
    	if config.BatchSize > 100 {
    		maxWorkers = maxWorkersWithBatchEvents
    	} else if config.BatchSize <= 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    public class RelationshipTesterTest extends TestCase {
    
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, new ItemReporter())
            .testNulls(RelationshipTester.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java

        public void test_invalid_null() {
            try {
                new DefaultQueryBuilder(null);
                fail();
            } catch (IllegalArgumentException e) {
                // nothing
            }
        }
    
        public void test_invalid_query() {
            try {
                new DefaultQueryBuilder(QueryBuilders.matchAllQuery());
                fail();
            } catch (IllegalArgumentException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashing.java

            || Integer.highestOneBit(buckets) != buckets) {
          throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets);
        }
        if (buckets <= BYTE_MAX_SIZE) {
          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
          return new short[buckets];
        } else {
          return new int[buckets];
        }
      }
    
      static void tableClear(Object table) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        // The execution list to hold our listeners.
        private final ExecutionList executionList = new ExecutionList();
    
        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbException.java

        static {
            Map<Integer, String> errorCodeMessagesTmp = new HashMap<>();
            for (int i = 0; i < NT_STATUS_CODES.length; i++) {
                errorCodeMessagesTmp.put(NT_STATUS_CODES[i], NT_STATUS_MESSAGES[i]);
            }
    
            Map<Integer, Integer> dosErrorCodeStatusesTmp = new HashMap<>();
            for (int i = 0; i < DOS_ERROR_CODES.length; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

     */
    @Deprecated(since = "4.0.0")
    public final class Maven3ScopeManagerConfiguration implements ScopeManagerConfiguration {
        public static final Maven3ScopeManagerConfiguration INSTANCE = new Maven3ScopeManagerConfiguration();
        public static final String DS_COMPILE = "compile";
        public static final String DS_RUNTIME = "runtime";
        public static final String DS_PROVIDED = "provided";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testIterationOrdering() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top