Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 179 for arg (0.01 seconds)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        @DisplayName("read(): returns -1 when underlying read reports EOF")
        void read_returnsMinusOne_onEOF() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Stub the 3-arg read to signal EOF
            doReturn(-1).when(raf).read(any(byte[].class), anyInt(), eq(1));
            assertEquals(-1, raf.read());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. lib/wasm/wasm_exec.js

    				if (offset % 8 !== 0) {
    					offset += 8 - (offset % 8);
    				}
    				return ptr;
    			};
    
    			const argc = this.argv.length;
    
    			const argvPtrs = [];
    			this.argv.forEach((arg) => {
    				argvPtrs.push(strPtr(arg));
    			});
    			argvPtrs.push(0);
    
    			const keys = Object.keys(this.env).sort();
    			keys.forEach((key) => {
    				argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
    			});
    			argvPtrs.push(0);
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

        /**
         * Adds a single command-line argument to pass to the Python script.
         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        /**
         * Adds multiple command-line arguments to pass to the Python script.
         *
         * @param values the argument values to add
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    two:
    	RET
    TEXT ·a12(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JMP one
    two:
    	ORQ R15, R15
    	RET
    one:
    	MOVL $0, R15
    	JMP two
    
    // Ensure 3-arg instructions get GOT-rewritten without errors.
    // See issue 58735.
    TEXT ·a13(SB), 0, $0-0
    	MULXQ runtime·writeBarrier(SB), AX, CX
    	RET
    
    // Various special cases in the use-R15-after-global-access-when-dynlinking check.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 20 19:05:03 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/path-params-numeric-validations.md

    * 이들을 다른 순서로 두기
    * `Annotated`를 사용하지 않기
    
    ...이를 위해 파이썬에는 작은 특별한 문법이 있습니다.
    
    함수의 첫 번째 매개변수로 `*`를 전달하세요.
    
    파이썬은 `*`으로 아무것도 하지 않지만, 뒤따르는 모든 매개변수는 키워드 인자(키-값 쌍)로 호출되어야 함을 알게 됩니다. 이는 <abbr title="출처: K-ey W-ord Arg-uments - 키워드 인자"><code>kwargs</code></abbr>로도 알려져 있습니다. 기본값이 없더라도 마찬가지입니다.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003_py310.py hl[7] *}
    
    ### `Annotated`를 쓰면 더 좋습니다 { #better-with-annotated }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/path-params-numeric-validations.md

    * 使用 `Path` 宣告路徑參數 `item_id`
    * 讓它們的順序不同
    * 不使用 `Annotated`
    
    …Python 有個小語法可以做到。
    
    在函式的參數列表最前面放一個 `*`。
    
    Python 不會對這個 `*` 做任何事,但它會知道後續的所有參數都必須以關鍵字引數(key-value pairs)方式呼叫,也就是所謂的 <abbr title="源自:K-ey W-ord Arg-uments - 關鍵字參數"><code>kwargs</code></abbr>。即便它們沒有預設值也一樣。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003_py310.py hl[7] *}
    
    ### 使用 `Annotated` 更好 { #better-with-annotated }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Tensor creation functions
      virtual AbstractTensorInterface* CreateTensor(
          DataType dtype, absl::Span<const int64_t> dim_sizes) = 0;
    
      typedef void (*MemoryReleaser)(void* data, size_t len, void* arg);
    
      // Create a tensor instance from the given data buffer and description.
      // `memory_releaser` will be called on destruction, and it's responsible for
      // cleaning up the underlying buffer.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            final AtomicBoolean launchNowNoArgCalled = new AtomicBoolean(false);
    
            final LaScheduledJob mockLaJob = createMockLaScheduledJob(null);
            // Override the no-arg launchNow behavior
            final LaScheduledJob wrappedJob = new DelegatingLaScheduledJob(mockLaJob) {
                @Override
                public LaunchedProcess launchNow() {
                    launchNowNoArgCalled.set(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_function_test.cc

        for (const OpDef::ArgDef& arg : fdef.signature().output_arg()) {
          const auto& iter = fdef.ret().find(arg.name());
          if (iter != fdef.ret().end()) {
            const auto& v = a_edges.insert({iter->second, arg.name()});
            ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> "
                                  << arg.name() << ". fdef: " << fdef.DebugString();
          } else {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

            ant.exec(executable: realExecutable, spawn: spawn, dir: cwd, taskname: name) {
                realEnv.each { key, value -> env(key: key, value: value) }
                realArgs.each { arg(value: it) }
            }
    
            String failedProp = "failed${name}"
            // first wait for resources, or the failure marker from the wrapper script
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
Back to Top