Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,926 for add (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
        map.put("foo", 5);
        assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
        assertEquals("[bar=1, foo=2, foo=3, bar=4, foo=5]", map.entries().toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            List<Object> objList = JsonPath.from(response).getList(getJsonPath() + "." + getIdKey());
            List<String> ret = new ArrayList<>();
            for (Object obj : objList) {
                ret.add(obj.toString());
            }
            return ret;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for (Object credential : serverPrivateCredentials) {
                if (credential instanceof KerberosKey) {
                    serverKeys.add((KerberosKey) credential);
                }
            }
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
        /**
         * Retrieves a specific Kerberos key by key type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An SPI interface to extend Maven with new enum values for extensible enumerations.
     * <p>
     * Maven uses extensible enumerations to allow plugins and extensions to add new values
     * to various categories like languages, scopes, and packaging types. This interface is the
     * base for all providers that register such extensions.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. ci/official/envs/rbe

      # port-forwarding is required for the container to detect it's running on GCE.
      export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
      netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
      # A local firewall rule for the container is added in
      # ci/official/utilities/setup_docker.sh.
    else
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

            this.took = took;
            if (errors == null || errors.isEmpty()) {
                hasError = false;
            } else {
                hasError = true;
                errors.forEach(this.errors::add);
            }
        }
    
        /**
         * Returns the number of suggest documents.
         * @return The number of suggest documents.
         */
        public int getNumberOfSuggestDocs() {
            return numberOfSuggestDocs;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

        if (initialCapacity != UNSET_INT) {
          s.add("initialCapacity", initialCapacity);
        }
        if (concurrencyLevel != UNSET_INT) {
          s.add("concurrencyLevel", concurrencyLevel);
        }
        if (maximumSize != UNSET_INT) {
          s.add("maximumSize", maximumSize);
        }
        if (maximumWeight != UNSET_INT) {
          s.add("maximumWeight", maximumWeight);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          try {
            val fromSource = from.source().buffer()
            val fromSink = from.sink().buffer()
            hello(fromSource, fromSink)
            acceptCommand(from.inetAddress, fromSource, fromSink)
            openSockets.add(from)
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$name failed", e)
            from.closeQuietly()
          }
        }
      }
    
      private fun hello(
        fromSource: BufferedSource,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. misc/cgo/gmp/fib.go

    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    	c := make(chan *big.Int)
    	out := make(chan string)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	for i := 0; i < 200; i++ {
    		println(<-out)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 919 bytes
    - Viewed (0)
Back to top