Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2741 - 2750 of 6,076 for new1 (0.02 seconds)

  1. android/guava/src/com/google/common/collect/Ordering.java

        static final Ordering<@Nullable Object> ARBITRARY_ORDERING = new ArbitraryOrdering();
      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

      }
    
      public static class ImmutableListHeadSubListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          arraycopy(elements, 0, all, 0, elements.length);
          arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    @J2ktIncompatible
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      private final CountDownLatch runLatch = new CountDownLatch(1);
      private final CountDownLatch taskLatch = new CountDownLatch(1);
      private final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      private volatile boolean throwException = false;
    
      private final ListenableFutureTask<Integer> task =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                activityHelper.loginFailure(OptionalThing.of(new LocalUserCredential(username, password)));
                throwValidationError(messages -> messages.addErrorsLoginError(GLOBAL), () -> asIndexPage(form));
            }
            return redirect(getClass());
        }
    
        /**
         * Handles password change for the current user.
         *
         * @param form the password form containing new password and confirmation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            return null;
        }
    
        @Override
        protected void testRead() {
            logger.info("[BEGIN] testRead");
    
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
    
            logger.info("Stats response: {}", response);
    
            // Verify response structure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

                ByteBuffer buffer = invocation.getArgument(0);
                EnumSet<RdmaAccess> access = invocation.getArgument(1);
                return new TcpMemoryRegion(buffer, access);
            });
    
            bufferManager = new RdmaBufferManager(mockProvider);
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (bufferManager != null) {
                bufferManager.cleanup();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

                this.dataBytesWritten = bytes;
            }
        }
    
        @BeforeEach
        void setUp() {
            transaction = new TestSmbComTransaction();
            transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION;
            transaction.name = "\\PIPE\\test";
            transaction.txn_buf = new byte[1024];
            transaction.maxBufferSize = 1024;
        }
    
        @Test
        @DisplayName("Test reset() method resets transaction state")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. cmd/consolelogger.go

    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(w),
    		logBuf:  ring.New(defaultLogBufferCount),
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/util/DES.java

     * JCIFS API
     * Norbert Hranitzky
     *
     * <p>and modified again by Michael B. Allen
     */
    
    public class DES {
    
        private final int[] encryptKeys = new int[32];
        private final int[] decryptKeys = new int[32];
    
        private final int[] tempInts = new int[2];
    
        /**
         * Creates a DES cipher instance without a key
         */
        public DES() {
    
        }
    
        // Constructor, byte-array key.
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java

    /**
     * Unit test for simple App.
     */
    public class AppTest {
      private final MockWebServer mockWebServer = new MockWebServer();
    
      @Test
      public void testApp() throws IOException {
        mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!"));
        mockWebServer.start();
    
        new SampleHttpClient().makeCall(mockWebServer.url("/"));
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top