Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1151 - 1160 of 4,798 for new1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

     * @author Gregory Kick
     */
    @NullUnmarked
    public class ForwardingTableTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Table.class,
                new Function<Table, Table<?, ?, ?>>() {
                  @Override
                  public Table<?, ?, ?> apply(Table delegate) {
                    return wrap((Table<?, ?, ?>) delegate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

            this.commandRegistries = new ArrayList<>();
        }
    
        public void addCommandRegistry(CommandRegistry commandRegistry) {
            requireNonNull(commandRegistry, "commandRegistry");
            this.commandRegistries.add(commandRegistry);
        }
    
        public CommandRegistry[] getCommandRegistries() {
            return commandRegistries.toArray(new CommandRegistry[0]);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsKeyMatchCA.java

            KeyMatchCQ cq = new KeyMatchCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                KeyMatchCA ca = new KeyMatchCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 61.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

        public boolean add(@ParametricNullness E element) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int add(@ParametricNullness E element, int occurrences) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean addAll(Collection<? extends E> elementsToAdd) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /**
       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should renew credentials when they are renewable and renew() returns new credentials")
        void testRenewCredentials_RenewableAndRenewed() {
            // Set up the wrapper with renewable credentials
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockRenewableCredentials);
            when(mockRenewableCredentials.renew()).thenReturn(mockRenewedCredentialsInternal);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
         * @param server the server name to enumerate DFS roots from
         */
        public MsrpcDfsRootEnum(final String server) {
            super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
            info.level = level;
            info.e = new netdfs.DfsEnumArray200();
            ptype = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top