Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 411 for Works (0.02 seconds)

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

    import java.util.List;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

           */
          return false;
        }
      }
    
      private static final class RecordingRunnable implements Runnable {
        final CountDownLatch wasRun = new CountDownLatch(1);
    
        // synchronized so that checkState works as expected.
        @Override
        public synchronized void run() {
          checkState(wasRun.getCount() > 0);
          wasRun.countDown();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. cmd/bucket-policy.go

    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    		if grpsIs, ok := grpsVal.([]any); ok {
    			grps := []string{}
    			for _, gI := range grpsIs {
    				if g, ok := gI.(string); ok {
    					grps = append(grps, g)
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

    /**
     * POJO configuration for web authentication that can be converted to
     * either HC4 Hc4Authentication or HC5 Hc5Authentication.
     *
     * <p>This class provides a library-independent way to configure
     * HTTP authentication that works with both Apache HttpComponents 4.x
     * and 5.x clients.</p>
     *
     * <p>Example usage for Basic authentication:</p>
     * <pre>{@code
     * WebAuthenticationConfig config = new WebAuthenticationConfig();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        // Test encryption and decryption functionality
        @Test
        public void test_invertibleCryptography() {
            // Test that invertible cryptography works correctly
            InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                BufferCache.releaseBuffer(tooLarge);
                BufferCache.releaseBuffer(empty);
            });
    
            // Then - Invalid buffers should be silently ignored
            // Get a new buffer to verify cache still works
            byte[] validBuffer = BufferCache.getBuffer();
            assertNotNull(validBuffer, "Cache should still work after invalid releases");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // Check that password can be retrieved
            assertEquals(testPassword, auth.getPassword());
    
            // Check that char array method works
            char[] passwordArray = auth.getPasswordAsCharArray();
            assertNotNull(passwordArray);
            assertArrayEquals(testPassword.toCharArray(), passwordArray);
    
            // Verify that returned array is a copy
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          byte[] got = out.toByteArray();
          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
      private static class Control extends AbstractNonStreamingHashFunction {
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @DisplayName("Should load mime.map resource properly")
            void testResourceLoading() throws IOException {
                MimeMap map = new MimeMap();
                assertNotNull(map);
                // Verify it works by testing a known mapping
                assertEquals("application/pdf", map.getMimeType("pdf"));
            }
        }
    
        @Nested
        @DisplayName("Performance and concurrency")
        class PerformanceTests {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. docs/sts/tls.md

    A major advantage of certificate-based authentication compared to other STS authentication methods, like OpenID Connect or LDAP/AD, is that client authentication works without any additional/external component that must be constantly available. Therefore, certificate-based authentication may provide better availability / lower operational complexity.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6K bytes
    - Click Count (1)
Back to Top