Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 483 for asArguments (0.33 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            List<Object> arguments = new ArrayList<>();
            arguments.add(guard);
            if (isDurationBased(method)) {
              arguments.add(Duration.ZERO);
            }
            if (isLongTimeUnitBased(method)) {
              arguments.add(0L);
              arguments.add(MILLISECONDS);
            }
            try {
              method.invoke(monitor, arguments.toArray());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

                    Arguments.of("too short header", new byte[] { 0x04, 0x01, 0x00 }, IllegalArgumentException.class),
    
                    // Wrong TOK_ID
                    Arguments.of("wrong TOK_ID", new byte[] { 0x00, 0x02, 0x00, 0x01 }, IllegalArgumentException.class),
    
                    // OID length claims more than available
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractGitAwareGradleFuncTest.groovy

            execute('git commit -m"Initial"', workingRemoteGit)
            return workingRemoteGit;
        }
    
        GradleRunner gradleRunner(String... arguments) {
            gradleRunner(new File(testProjectDir.root, "cloned"), arguments)
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Verify.java

       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

        /**
         * The classes of the method arguments.
         */
        private final Class<?>[] methodArgClasses;
    
        /**
         * Creates a {@link MethodNotFoundRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param methodName
         *            Method name
         * @param methodArgs
         *            Array of arguments
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        static java.util.stream.Stream<Arguments> npePublicGetters() {
            return java.util.stream.Stream.of(Arguments.of("getTreeType()", (org.junit.jupiter.api.function.Executable) () -> {
                CIFSContext ctx = mock(CIFSContext.class);
                new SmbTreeConnectionTrace(ctx).getTreeType();
            }), Arguments.of("getConnectedShare()", (org.junit.jupiter.api.function.Executable) () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

        class ParameterizedInit {
            static Stream<Arguments> validRanges() {
                byte[] src = new byte[] { 0, 1, 2, 3 };
                return Stream.of(Arguments.of(src, 0, 0, new byte[] {}), Arguments.of(src, 0, 4, new byte[] { 0, 1, 2, 3 }),
                        Arguments.of(src, 1, 2, new byte[] { 1, 2 }), Arguments.of(src, 3, 1, new byte[] { 3 }));
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  9. cmd/sftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s (%v)", arg, err), "unable to start SFTP server")
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

        /**
         * The method arguments.
         */
        private final Object[] methodArgs;
    
        /**
         * The parameter types.
         */
        private final Class<?>[] paramTypes;
    
        /**
         * Creates a {@link ConstructorNotFoundRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param methodArgs
         *            Array of arguments
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top