Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 648 for helpers (0.05 seconds)

  1. generics.go

    	}
    
    	return s.handleAssociationForOwners(base, ctx, func(owner T, assoc *Association) error {
    		return assoc.Append(op.Values...)
    	}, op.Association)
    }
    
    // handleAssociationForOwners is a helper function that handles associations for all owners
    func (s setCreateOrUpdateG[T]) handleAssociationForOwners(base *DB, ctx context.Context, handler func(owner T, association *Association) error, associationName string) error {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/index.md

    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    有關更多功能的完整範例,可以參考 <a href="https://fastapi.tiangolo.com/tutorial/">教學 - 使用者指南</a>。
    
    **劇透警告**: 教學 - 使用者指南內容有:
    
    - 對來自不同地方的**參數**進行宣告:像是 **headers**, **cookies**, **form 表單**以及**上傳檔案**。
    - 如何設定 **驗證限制** 像是 `maximum_length` or `regex`。
    - 簡單且非常容易使用的 **<abbr title="也被稱為元件、資源、提供者、服務或是注入">依賴注入</abbr>** 系統。
    - 安全性和身份驗證,包含提供支援 **OAuth2**、**JWT tokens** 和 **HTTP Basic** 驗證。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. configure.py

        # but this also hurts the performance. Let users decide what they want.
        write_to_bazelrc('build --define=override_eigen_strong_inline=true')
    
    
    def config_info_line(name, help_text):
      """Helper function to print formatted help text for Bazel config options."""
      print('\t--config=%-12s\t# %s' % (name, help_text))
    
    
    def configure_ios(environ_cp):
      """Configures TensorFlow for iOS builds."""
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Apr 30 15:18:54 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                write(escapeKey(key));
                write(" = ");
                write(typed ? value : escapeJava(value));
                writeln(null);
            }
    
            /**
             * Helper method for writing a line with the platform specific line
             * ending.
             *
             * @param s the content of the line (may be <b>null</b>)
             * @throws IOException if an error occurs
             */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                write(escapeKey(key));
                write(" = ");
                write(typed ? value : escapeJava(value));
                writeln(null);
            }
    
            /**
             * Helper method for writing a line with the platform specific line
             * ending.
             *
             * @param s the content of the line (may be <b>null</b>)
             * @throws IOException if an error occurs
             */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  6. internal/ringbuffer/ring_buffer_test.go

    		t.Errorf("Read error: got %T, want testError1", err)
    	}
    }
    
    func TestRingBufferCloseErrorUnblocks(t *testing.T) {
    	const sz = 100
    	rb := New(sz).SetBlocking(true)
    
    	testCancel := func(fn func()) {
    		t.Helper()
    		defer timeout(5 * time.Second)()
    		rb.Reset()
    		done := make(chan struct{})
    		go func() {
    			defer close(done)
    			time.Sleep(10 * time.Millisecond)
    			fn()
    		}()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. cmd/server-main.go

    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    		Usage:  "read header timeout is the amount of time allowed to read request headers",
    		EnvVar: "MINIO_READ_HEADER_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "conn-user-timeout",
    		Usage:  "custom TCP_USER_TIMEOUT for socket buffers",
    		Hidden: true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  8. cmd/bucket-replication.go

    		var synchronous bool
    		if tgt != nil {
    			synchronous = tgt.replicateSync
    		}
    		dsc.Set(newReplicateTargetDecision(tgtArn, replicate, synchronous))
    	}
    	return dsc
    }
    
    // Standard headers that needs to be extracted from User metadata.
    var standardHeaders = []string{
    	xhttp.ContentType,
    	xhttp.CacheControl,
    	xhttp.ContentEncoding,
    	xhttp.ContentLanguage,
    	xhttp.ContentDisposition,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  9. cmd/batch-handlers.go

    				// Create path to store objects within the bucket.
    				Key:       entry.Name,
    				Size:      entry.Size,
    				ModTime:   entry.ModTime,
    				VersionID: entry.VersionID,
    				Content:   gr,
    				Headers:   make(http.Header),
    				Close: func() {
    					gr.Close()
    				},
    			}
    
    			opts, _, err := batchReplicationOpts(ctx, "", gr.ObjInfo)
    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  10. tensorflow/c/c_api_function_test.cc

        return UseT(ToOutput(inputs));
      }
    
      TF_Operation* UseT(const std::vector<TF_Output>& inputs) {
        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
Back to Top