Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 2,345 for Add (0.04 sec)

  1. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        // the representable doubles are 2^54 and 2^54 + 4
        // 2^54+1 is less than halfway between, so HALF_DOWN and HALF_UP will both go down.
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 54).add(new BigDecimal(0.5)))
            .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN)
            .setExpectation(Math.nextUp(twoToThe54), CEILING, UP)
            .roundUnnecessaryShouldThrow()
            .test();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Resources.java

            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = Lists.newArrayList();
    
              @Override
              public boolean processLine(String line) {
                result.add(line);
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return result;
              }
            });
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                                predecessors.put(key, pending);
                                pending = new ArrayList<>();
                            }
                        } else {
                            pending.add(element);
                        }
                    }
    
                    List<Plugin> result = new ArrayList<>(src.size() + tgt.size());
                    for (Map.Entry<Object, Plugin> entry : master.entrySet()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher.go

    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/pluginlistener"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    )
    
    // Just a composite of the CNI plugin add event struct + some extracted "args"
    type CNIPluginAddEvent struct {
    	Netns        string
    	PodName      string
    	PodNamespace string
    	IPs          []IPConfig
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *            配列の要素型
         * @param array
         *            配列。{@literal null}であってはいけません
         * @param obj
         *            オブジェクト
         * @return オブジェクトが追加された結果の配列
         */
        public static <T> T[] add(final T[] array, final T obj) {
            assertArgumentNotNull("array", array);
    
            final int length = array.length;
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

        If the tests are to be run on the GPU:
    
        *   For TensorFlow versions starting from v.2.18.0: Add the `cuda` option
            flag.
    
            ```bash
            export flags="--config=opt --config=cuda -k"
            ```
    
        *   For TensorFlow versions prior v.2.18.0: Add CUDA paths to
            LD_LIBRARY_PATH and add the `cuda` option flag.
    
            ```bash
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        }
      }
    
      /** Can still coalesce when pinning is used if pins match.  */
      @Test
      fun coalescesWhenCertificatePinsMatch() {
        val pinner =
          CertificatePinner.Builder()
            .add("san.com", pin(certificate.certificate))
            .build()
        client = client.newBuilder().certificatePinner(pinner).build()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

                public void run() {
                  try {
                    f.get();
                  } catch (Throwable expected) {
                  }
                }
              };
          thread.start();
          blockedThreads.add(thread);
        }
        for (int i = 0; i < numListeners; i++) {
          f.addListener(Runnables.doNothing(), directExecutor());
        }
        for (Thread thread : blockedThreads) {
          AbstractFutureBenchmarks.awaitWaiting(thread);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top