Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,345 for Add (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

       */
      public void testNulls() {}
    
      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
        longAdder.add(1);
        // silently overflows; is this a bug?
        // See https://github.com/google/guava/issues/3503
        assertThat(longAdder.sum()).isEqualTo(-9223372036854775808L);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        final List<Object> subscriberEvents = Lists.newArrayList();
    
        public void notASubscriber(Object o) {
          nonSubscriberEvents.add(o);
        }
    
        @Subscribe
        public void subscriber(Object o) {
          subscriberEvents.add(o);
        }
      }
    
      public void testNonSubscriber() {
        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        final List<Object> subscriberEvents = Lists.newArrayList();
    
        public void notASubscriber(Object o) {
          nonSubscriberEvents.add(o);
        }
    
        @Subscribe
        public void subscriber(Object o) {
          subscriberEvents.add(o);
        }
      }
    
      public void testNonSubscriber() {
        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server_test.go

    	var pod2UID string = string(pod2.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	// First IP of first pod should error, but we should add the rest
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("3.3.3.3"),
    		ipProto,
    		pod1UID,
    		false,
    	).Return(errors.New("CANNOT ADD"))
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		pod1UID,
    		false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

      fun requestToStringRedactsSensitiveHeaders() {
        val headers =
          Headers.Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    logger.debug("Crawling {}", urlsStr);
                }
    
                crawler.setBackground(true);
                crawler.setThreadPriority(crawlerPriority);
    
                crawlerList.add(crawler);
                crawlerStatusList.add(Constants.READY);
            }
    
            // File
            for (final FileConfig fileConfig : fileConfigList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. docs/multi-user/admin/README.md

    ## Get started
    
    In this document we will explain in detail on how to configure admin users.
    
    ### 1. Prerequisites
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables_linux.go

    	var rules []*netlink.Rule
    	families := []int{unix.AF_INET}
    	if cfg.EnableIPv6 {
    		families = append(families, unix.AF_INET6)
    	}
    	for _, family := range families {
    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
          if (!fetchedUrls.add(url)) {
            continue;
          }
    
          Thread currentThread = Thread.currentThread();
          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

      }
    
      @Test
      fun chainMaxLength() {
        val heldCertificates = chainOfLength(10)
        val certificates: MutableList<Certificate> = ArrayList()
        for (heldCertificate in heldCertificates) {
          certificates.add(heldCertificate.certificate)
        }
        val root = heldCertificates[heldCertificates.size - 1].certificate
        val cleaner = get(root)
        assertThat(cleaner.clean(certificates, "hostname")).isEqualTo(certificates)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top