Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,550 for value (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

      }
    
      public void testWriteLines_stream() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream());
        String separator = LINE_SEPARATOR.value();
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
      public void testWriteLines_stream_separator() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // Initialize ServerData to avoid NullPointerException
            SmbTransport.ServerData serverData = transport.new ServerData();
            serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE
            serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key
    
            // Configure the mock transport with the server data
            transport.server = serverData;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	// hijacking the policies. We need to make sure that this is
    	// based on admin credential such that token cannot be decoded
    	// on the client side and is treated like an opaque value.
    	claims, err := auth.ExtractClaims(token, secret)
    	if err != nil {
    		if subtle.ConstantTimeCompare([]byte(secret), []byte(globalActiveCred.SecretKey)) == 1 {
    			return nil, errAuthentication
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

        @Override
        protected ObjectiveProperties newObjectiveProperties(final String resourcePath, final PropertyFilter propertyFilter) {
            return new ObjectiveProperties(resourcePath) { // for e.g. checking existence and filtering value
                Cache<String, String> cache = CacheBuilder.newBuilder().build();
    
                @Override
                public String get(final String propertyKey) {
                    final String plainValue = getFromCache(propertyKey);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

      public Set<Feature<? super Multimap>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        MultimapFeature[] value() default {};
    
        MultimapFeature[] absent() default {};
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

    public interface ToolchainPrivate extends Toolchain {
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

     * <p>
     * Example of creating a custom qualifier:
     * <pre>
     * {@literal @}Qualifier
     * {@literal @}Retention(RUNTIME)
     * public @interface Database {
     *     String value();
     * }
     * </pre>
     *
     * @see Named
     * @since 4.0.0
     */
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        @DisplayName("Test constructor with Configuration only")
        void testConstructorWithConfigOnly() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            assertNotNull(request);
            // SMB2_SET_INFO command value is 0x0011
            assertEquals((short) 0x0011, request.getCommand());
    
            // Verify that default file ID is set
            byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID;
            Field fileIdField;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top