Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 650 for jconst (0.06 sec)

  1. tensorflow/c/c_test.c

      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                            "msg": "ensure this value is greater than or equal to 0",
                            "ctx": {"limit_value": 0},
                        },
                        {
                            "type": "value_error.const",
                            "loc": ["query", "order_by"],
                            "msg": "unexpected value; permitted: 'created_at', 'updated_at'",
                            "ctx": {
                                "given": "invalid",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/s3select/json/reader.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Limit single document size to 10MiB, 10x the AWS limit:
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/selecting-content-from-objects.html
    const maxDocumentSize = 10 << 20
    
    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args       *ReaderArgs
    	decoder    *jstream.Decoder
    	valueCh    chan *jstream.MetaValue
    	readCloser io.ReadCloser
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    	"crypto/x509"
    	"errors"
    	"sort"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/pkg/v3/ldap"
    )
    
    const (
    	defaultLDAPExpiry = time.Hour * 1
    
    	minLDAPExpiry time.Duration = 15 * time.Minute
    	maxLDAPExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    // Config contains AD/LDAP server connectivity information.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. internal/crypto/sse_test.go

    package crypto
    
    import (
    	"net/http"
    	"testing"
    )
    
    func TestS3String(t *testing.T) {
    	const Domain = "SSE-S3"
    	if domain := S3.String(); domain != Domain {
    		t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    func TestSSECString(t *testing.T) {
    	const Domain = "SSE-C"
    	if domain := SSEC.String(); domain != Domain {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  6. internal/lock/lock_windows.go

    	"path/filepath"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	modkernel32    = windows.NewLazySystemDLL("kernel32.dll")
    	procLockFileEx = modkernel32.NewProc("LockFileEx")
    )
    
    const (
    	// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx
    	lockFileExclusiveLock   = 2
    	lockFileFailImmediately = 1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/callhome.go

    					auditOptions.Error = err.Error()
    				}
    				auditLogInternal(ctx, auditOptions)
    				return
    			}
    			healthInfo = hi
    		case <-healthCtx.Done():
    			return
    		}
    	}
    }
    
    const (
    	subnetHealthPath = "/api/health/upload"
    )
    
    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/config.go

    	"fmt"
    	"path"
    	"sort"
    	"strings"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    )
    
    const (
    	minioConfigPrefix = "config"
    	minioConfigBucket = minioMetaBucket + SlashSeparator + minioConfigPrefix
    	kvPrefix          = ".kv"
    
    	// Captures all the previous SetKV operations and allows rollback.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. internal/config/policy/opa/config.go

    	"encoding/json"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Env IAM OPA URL
    const (
    	URL       = "url"
    	AuthToken = "auth_token"
    
    	EnvPolicyOpaURL       = "MINIO_POLICY_OPA_URL"
    	EnvPolicyOpaAuthToken = "MINIO_POLICY_OPA_AUTH_TOKEN"
    )
    
    // DefaultKVS - default config for OPA config
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. internal/config/dns/types.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dns
    
    import (
    	"encoding/json"
    	"time"
    )
    
    const (
    	defaultTTL            = 30
    	defaultContextTimeout = 5 * time.Minute
    )
    
    // SrvRecord - represents a DNS service record
    type SrvRecord struct {
    	Host     string      `json:"host,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top