Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 167 for args4j (0.15 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

            try (ResponseBody body = response.body()) {
              // Consume and discard the response body.
              body.source().readByteString();
            }
          }
        });
      }
    
      public static void main(String... args) throws Exception {
        new PrintEvents().run();
      }
    
      private static final class PrintingEventListener extends EventListener {
        private static final Factory FACTORY = new Factory() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertEquals(7, r);
            verify(mockOut).write(eq(buf), eq(2), eq(4));
            verify(mockIn).read(eq(recv));
        }
    
        @Test
        @DisplayName("recv delegates to input.readDirect with args")
        void recv_delegates_readDirect() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\y");
    
            // Mock the stream directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

          System.out.println(response.handshake().cipherSuite());
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CustomCipherSuites().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

            }
    
            throw new IOException("Unexpected code " + response);
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CustomTrust().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
              return typeVariableMethod.invoke(typeVariableImpl, args);
            } catch (InvocationTargetException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertTrue(ex.getMessage().contains("failed"));
            verify(session).treeConnectLogon();
        }
    
        // Happy path: getSmbTree returns a tree and receives correct args
        @Test
        @DisplayName("getSmbTree returns tree and captures arguments")
        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

         */
        private Object invokeMethod(Object obj, String methodName, Class<?>[] paramTypes, Object... args) throws Exception {
            Method method = obj.getClass().getDeclaredMethod(methodName, paramTypes);
            method.setAccessible(true);
            return method.invoke(obj, args);
        }
    
        /**
         * Tests for the TreeConnectResponse interface using a mock implementation
         */
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. okhttp/build.gradle.kts

      val idnaOutput = layout.buildDirectory.dir("generated/sources/idnaMappingTable")
    
      outputs.dir(idnaOutput)
      mainClass.set("okhttp3.internal.idn.GenerateIdnaMappingTableCode")
      args(idnaOutput.get())
      classpath = generateIdnaMappingTableConfiguration
    }
    
    kotlin {
      jvmToolchain(8)
    
      jvm {
      }
    
      androidTarget {
        compilerOptions {
          jvmTarget.set(JvmTarget.JVM_17)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PythonJob.java

         * Adds multiple command-line arguments to pass to the Python script.
         *
         * @param values the argument values to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob args(final String... values) {
            stream(values).of(stream -> stream.forEach(argList::add));
            return this;
        }
    
        /**
         * Executes the Python script job.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. mvnw.cmd

           "  exit 1;"^
           "}"^
           "}"
        if ERRORLEVEL 1 goto error
    )
    
    @REM Provide a "standardized" way to retrieve the CLI args that will
    @REM work with both Windows and non-Windows executions.
    set MAVEN_CMD_LINE_ARGS=%*
    
    %MAVEN_JAVA_EXE% ^
      %JVM_CONFIG_MAVEN_PROPS% ^
      %MAVEN_OPTS% ^
      %MAVEN_DEBUG_OPTS% ^
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top