Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 956 for builder_ (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
                projectBuilder = getContainer().lookup(ProjectBuilder.class);
            }
        }
    
        protected ProjectBuilder getProjectBuilder() {
            return projectBuilder;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new OperatingSystemProfileActivator();
        }
    
        private Profile newProfile(ActivationOS.Builder activationBuilder) {
            Activation a = Activation.newBuilder().os(activationBuilder.build()).build();
    
            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        // together and this really shows the problem of constructing a sensible default configuration but
        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugin in the default lifecycle and create
        // fully populated Plugin objects, including executions with goals and default configuration taken
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. mockwebserver/README.md

    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
        .setBody("{}");
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "eget augue. Sed nec arcu sem. In hac habitasse platea dictumst.";
    
      static final ImmutableMap<String, String> TEST_STRINGS =
          ImmutableMap.<String, String>builder()
              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. logger/sql.go

    			}
    		}
    	}
    
    	for idx, v := range avars {
    		convertParams(v, idx)
    	}
    
    	if numericPlaceholder == nil {
    		var idx int
    		var newSQL strings.Builder
    
    		for _, v := range []byte(sql) {
    			if v == '?' {
    				if len(vars) > idx {
    					newSQL.WriteString(vars[idx])
    					idx++
    					continue
    				}
    			}
    			newSQL.WriteByte(v)
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. schema/naming.go

    		}
    
    		name = tmpName
    	}
    
    	if ns.NoLowerCase {
    		return name
    	}
    
    	var (
    		value                          = commonInitialismsReplacer.Replace(name)
    		buf                            strings.Builder
    		lastCase, nextCase, nextNumber bool // upper case == true
    		curCase                        = value[0] <= 'Z' && value[0] >= 'A'
    	)
    
    	for i, v := range value[:len(value)-1] {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Derived suite generators for Guava collection interfaces, split out of the suite builders so that
     * they are available to GWT.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class DerivedGoogleCollectionGenerators {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.recordStats().build(identityLoader());
              }
            });
      }
    
      private CacheBuilderFactory cacheFactory() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top