Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 4,655 for news (0.09 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
                    doThrow(new LoginException("Login failed")).when(mock).login();
                })) {
                    new KerberosCredentials(LOGIN_CONTEXT_NAME);
                }
            });
        }
    
        /**
         * Test getKeys method when subject has Kerberos keys.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        void matchesBehavior() {
            // Two distinct auth instances
            NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
            // same auth instance => matches
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/Base64Test.java

            return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
                    Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB"
                    Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding
                    Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        /** Map of input file extensions to output extensions. */
        private final Map<String, String> extensionMap = new HashMap<>();
    
        /** Map of output extensions to their corresponding extractors. */
        private final Map<String, Extractor> extractorMap = new HashMap<>();
    
        /**
         * Constructs a new JodExtractor and initializes the extension and extractor mappings.
         */
        public JodExtractor() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/BaseContext.java

            this.config = config;
            this.dfs = new DfsImpl(this);
            this.sidResolver = new SIDCacheImpl(this);
            this.urlHandler = new Handler(this);
            this.nameServiceClient = new NameServiceClientImpl(this);
            this.bufferCache = new BufferCacheImpl(this.config);
            this.transportPool = new SmbTransportPoolImpl();
            final String defUser = config.getDefaultUsername();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            SimpleCircuitBreaker breaker = new SimpleCircuitBreaker("concurrent", 5, 3, 100);
            AtomicInteger successCount = new AtomicInteger(0);
            AtomicInteger failureCount = new AtomicInteger(0);
    
            // Create multiple threads
            Thread[] threads = new Thread[10];
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should return negotiate contexts")
        void testGetNegotiateContexts() throws Exception {
            // Given
            NegotiateContextResponse[] contexts = new NegotiateContextResponse[2];
            contexts[0] = new EncryptionNegotiateContext();
            contexts[1] = new PreauthIntegrityNegotiateContext();
            setPrivateField(response, "negotiateContexts", contexts);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

        private JobHelper jobHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            jobHelper = new JobHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new MockJobLogBhv(), JobLogBhv.class.getCanonicalName());
        }
    
        public void test_register_with_null_scheduledJob() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top