Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,574 for retorno (0.15 sec)

  1. tensorflow/c/eager/graph_function.h

      absl::Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractFunction* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_op_attrs.h

     protected:
      enum AbstractOpAttrsKind { kEager, kTfrt };
      explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
      AbstractOpAttrsKind getKind() const { return kind_; }
      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. internal/config/policy/plugin/config.go

    	if err := json.Unmarshal(data, &so); err != nil {
    		return err
    	}
    
    	oa := Args(so)
    	if oa.URL == nil || oa.URL.String() == "" {
    		*a = oa
    		return nil
    	}
    
    	*a = oa
    	return nil
    }
    
    // AuthZPlugin - implements opa policy agent calls.
    type AuthZPlugin struct {
    	args   Args
    	client *http.Client
    }
    
    // Enabled returns if AuthZPlugin is enabled.
    func Enabled(kvs config.KVS) bool {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (1)
  4. cmd/bucket-policy-handlers.go

    			Description:    err.Error(),
    		}, r.URL)
    		return
    	}
    
    	// Version in policy must not be empty
    	if bucketPolicy.Version == "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPolicyInvalidVersion), r.URL)
    		return
    	}
    
    	configData, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. internal/logger/audit.go

    	if ctx == nil {
    		LogIf(context.Background(), "audit", fmt.Errorf("context is nil"))
    		return nil
    	}
    	return context.WithValue(ctx, contextAuditKey, audit)
    }
    
    // GetAuditEntry returns Audit entry if set.
    func GetAuditEntry(ctx context.Context) *audit.Entry {
    	if ctx != nil {
    		r, ok := ctx.Value(contextAuditKey).(*audit.Entry)
    		if ok {
    			return r
    		}
    		r = &audit.Entry{
    			Version:      internalAudit.Version,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arch.go

    		return archArm()
    	case "arm64":
    		return archArm64()
    	case "loong64":
    		return archLoong64(&loong64.Linkloong64)
    	case "mips":
    		return archMips(&mips.Linkmips)
    	case "mipsle":
    		return archMips(&mips.Linkmipsle)
    	case "mips64":
    		return archMips64(&mips.Linkmips64)
    	case "mips64le":
    		return archMips64(&mips.Linkmips64le)
    	case "ppc64":
    		return archPPC64(&ppc64.Linkppc64)
    	case "ppc64le":
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		return
    	}
    
    	if err = httpWriter.Close(); err != nil {
    		if !httpWriter.HasWritten() { // write error response only if no data or headers has been written to client yet
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		return
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	// Return error if KMS is not initialized
    	if GlobalKMS == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	kmsKey := encConfig.KeyID()
    	if kmsKey != "" {
    		kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/testing-dependencies.md

    ### Casos de uso: serviço externo
    
    Um exemplo pode ser que você possua um provedor de autenticação externo que você precisa chamar.
    
    Você envia ao serviço um *token* e ele retorna um usuário autenticado.
    
    Este provedor pode cobrar por requisição, e chamá-lo pode levar mais tempo do que se você tivesse um usuário fixo para os testes.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top