Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 4,617 for New (0.01 sec)

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

            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
      static RuntimeException create(Throwable... exceptions) {
        ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions));
        return create(temp);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test creating bulk line for indexing
            SuggestItem item = new SuggestItem(new String[] { "test text" }, new String[][] { { "reading1" }, { "reading2" } },
                    new String[] { "field1", "field2" }, 10, // queryFreq
                    5, // docFreq
                    2.0f, // userBoost
                    new String[] { "tag1", "tag2" }, new String[] { "role1" }, new String[] {}, // languages
                    SuggestItem.Kind.DOCUMENT);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer);
    
        out.write(buf);
    
        assertEquals(expectedHash, out.hash());
      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(
            new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

            this.transport = transport.acquire();
            this.trees = new CopyOnWriteArrayList<>();
            this.credentials = tf.getCredentials().unwrap(CredentialsInternal.class).clone();
    
            // Initialize multi-channel support
            this.channelManager = new ChannelManager(tf, this);
    
            // Initialize SMB3 feature managers
            this.leaseManager = new LeaseManager(tf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
            when(context.getConfig()).thenReturn(config);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message message = new Type2Message(mockContext, Type2Message.NTLMSSP_NEGOTIATE_UNICODE, TEST_CHALLENGE, TEST_TARGET);
                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
                message.setContext(testContext);
                byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      private final TearDownStack tearDownStack = new TearDownStack(true);
      private TestThread<Monitor> thread1;
      private TestThread<Monitor> thread2;
    
      protected MonitorTestCase(boolean interruptible) {
        this.interruptible = interruptible;
      }
    
      @Override
      protected final void setUp() throws Exception {
        boolean fair = new Random().nextBoolean();
        monitor = new Monitor(fair);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            srvsvc.ShareInfo1 shareInfo = new srvsvc.ShareInfo1();
            shareInfo.netname = "SingleShare";
            shareInfo.type = 2;
            shareInfo.remark = "Single share remark";
    
            // Create ShareInfoCtr1 with one share
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 1;
            shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top