Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 482 for arg3 (0.38 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

            @Override
            protected Options parseCliOptions(LocalContext context) {
                try {
                    return CommonsCliOptions.parse(
                            "test", context.parserRequest.args().toArray(new String[0]));
                } catch (ParseException e) {
                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient
            .Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperRunner.java

     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.List;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    public class CIDetectorHelperRunner {
        public static void main(String[] args) {
            List<CIInfo> detect = CIDetectorHelper.detectCI();
            if (detect.isEmpty()) {
                System.out.print("NONE;");
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

     */
    @Named
    @Singleton
    public class EventSpyImpl implements EventSpy {
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent ee) {
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
                EventType eventType = convert(ee.getType());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        private int totalPoms = 0;
    
        public static void main(String[] args) throws Exception {
            if (args.length < 1) {
                System.out.println("Usage: PomMemoryAnalyzer <directory-with-poms>");
                System.exit(1);
            }
    
            Path rootDir = Paths.get(args[0]);
            PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    	if err2 != nil {
    		return nil, err2
    	}
    
    	result := part1 && part2
    	if e.Not {
    		result = !result
    	}
    
    	return FromBool(result), nil
    }
    
    func (e *Like) evalLikeNode(r Record, arg *Value, tableAlias string) (*Value, error) {
    	inferTypeAsString(arg)
    
    	s, ok := arg.ToString()
    	if !ok {
    		err := errLikeNonStrArg
    		return nil, errLikeInvalidInputs(err)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java

     * under the License.
     */
    
    package org.apache.maven.embedder;
    
    /**
     * Hello world!
     *
     */
    public class App
    {
        public static void main( String[] args )
        {
            System.out.println( "Hello World!" );
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 14:10:21 UTC 2025
    - 996 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new Authenticate().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

            .url(server.url("/"))
            .build());
        Response response = call.execute();
        System.out.println(response.handshake().tlsVersion());
      }
    
      public static void main(String... args) throws Exception {
        new HttpsServer().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top