Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,179 for _func (0.06 sec)

  1. src/cmd/asm/internal/arch/s390x.go

    // This file encapsulates some of the odd characteristics of the
    // s390x instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj/s390x"
    )
    
    func jumpS390x(word string) bool {
    	switch word {
    	case "BRC",
    		"BC",
    		"BCL",
    		"BEQ",
    		"BGE",
    		"BGT",
    		"BL",
    		"BLE",
    		"BLEU",
    		"BLT",
    		"BLTU",
    		"BNE",
    		"BR",
    		"BVC",
    		"BVS",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 17 14:55:25 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-free-version_test.go

    )
    
    func (x xlMetaV2) listFreeVersions(volume, path string) ([]FileInfo, error) {
    	fivs, err := x.ListVersions(volume, path, true)
    	if err != nil {
    		return nil, err
    	}
    	n := 0
    	for _, fiv := range fivs {
    		if fiv.TierFreeVersion() {
    			fivs[n] = fiv
    			n++
    		}
    	}
    	fivs = fivs[:n]
    	return fivs, nil
    }
    
    func TestFreeVersion(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(h->FullType().type_id(), TFT_UNSET);
      ASSERT_EQ(unwrap(inputs[0])->FullType().type_id(), TFT_UNSET);
    
      // Clean up operation and inputs.
      TF_DeleteAbstractOp(add_op);
    
      TF_AbstractFunction* func =
          TF_FinalizeFunction(graph_ctx, add_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      // Note: TF_OutputList does not own the underlying AbstractTensors, those
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. tests/error_translator_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. internal/http/dial_dnscache.go

    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    }
    
    func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, key, nil)
    }
    
    func sshPasswordAuth(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, nil, pass)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    	return func() error {
    		// NOTE: Healing on meta is run regardless
    		// of any bucket being selected, this is to ensure that
    		// meta are always upto date and correct.
    		return objAPI.HealObjects(h.ctx, minioMetaBucket, metaPrefix, h.settings, func(bucket, object, versionID string, scanMode madmin.HealScanMode) error {
    			if h.isQuitting() {
    				return errHealStopSignalled
    			}
    
    			err := h.queueHealTask(healSource{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

        private SearchEngineUtil() {
        }
    
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. internal/ioutil/hardlimitreader.go

    // This means the source *will* be overread unless EOF is returned prior.
    // The underlying implementation is a *HardLimitedReader.
    // This will ensure that at most n bytes are returned and EOF is reached.
    func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} }
    
    // A HardLimitedReader reads from R but limits the amount of
    // data returned to just N bytes. Each call to Read
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top