Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Parse (0.2 sec)

  1. cni/pkg/iptables/iptables_linux.go

    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		cidrs = append(cidrs, "0::0/0")
    	}
    	for _, fullCIDR := range cidrs {
    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    		if err != nil {
    			return fmt.Errorf("parse CIDR: %v", err)
    		}
    
    		netlinkRoutes := []*netlink.Route{
    			// In routing table ${INBOUND_TPROXY_ROUTE_TABLE}, create a single default rule to route all traffic to
    			// the loopback interface.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(oldName); err == nil {
    			oldTable = m.CurrentTable(stmt)
    		} else {
    			return err
    		}
    	}
    
    	if v, ok := newName.(string); ok {
    		newTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(newName); err == nil {
    			newTable = m.CurrentTable(stmt)
    		} else {
    			return err
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. scan.go

    		if isPtr {
    			reflectValueType = reflectValueType.Elem()
    		}
    
    		if sch != nil {
    			if reflectValueType != sch.ModelType && reflectValueType.Kind() == reflect.Struct {
    				sch, _ = schema.Parse(db.Statement.Dest, db.cacheStore, db.NamingStrategy)
    			}
    
    			if len(columns) == 1 {
    				// Is Pluck
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. Makefile.core.mk

      ifneq ($(GOOS_LOCAL),"linux")
        BUILD_DEPS += build-linux
      endif
    endif
    
    export ARTIFACTS ?= $(TARGET_OUT)
    export JUNIT_OUT ?= $(ARTIFACTS)/junit.xml
    export REPO_ROOT := $(shell git rev-parse --show-toplevel)
    
    # Make directories needed by the build system
    $(shell mkdir -p $(TARGET_OUT_LINUX))
    $(shell mkdir -p $(TARGET_OUT_LINUX)/logs)
    $(shell mkdir -p $(dir $(JUNIT_OUT)))
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			req, err = malformDataSigV4(req, 'z')
    		case unexpectedEOF:
    			req, err = truncateChunkByHalfSigv4(req)
    		case tooBigDecodedLength:
    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    			req.Header.Set("x-amz-decoded-content-length", "9999999999999999999999")
    		}
    
    		if err != nil {
    			t.Fatalf("Error injecting faults into the request: <ERROR> %v.", err)
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance.go

    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case rebalMetaVer:
    	default:
    		return fmt.Errorf("rebalanceMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    
    	// OK, parse data.
    	if _, err = r.UnmarshalMsg(data[4:]); err != nil {
    		return err
    	}
    
    	r.lastRefreshedAt = time.Now()
    
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	if !owner {
    		return errAuthentication
    	}
    
    	if claims.Audience != r.URL.RawQuery {
    		return errAuthentication
    	}
    
    	requestTimeStr := r.Header.Get("X-Minio-Time")
    	requestTime, err := time.Parse(time.RFC3339, requestTimeStr)
    	if err != nil {
    		return errMalformedAuth
    	}
    	utcNow := UTCNow()
    	delta := requestTime.Sub(utcNow)
    	if delta < 0 {
    		delta *= -1
    	}
    	if delta > DefaultSkewTime {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    		return nil
    	})
    	if err != nil {
    		return err
    	}
    	wantDirs, err := xl.getDataDirs()
    	if err != nil {
    		return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. RELEASE.md

        *   Fixed bug in `tf.data.experimental.parse_example_dataset` when `tf.io.RaggedFeatures` would specify `value_key` but no `partitions`. Before the fix, setting `value_key` but no `partitions` would result in the feature key being replaced by the value key, e.g. `{'value_key': <RaggedTensor>}` instead of `{'key': <RaggedTensor>}`. Now the correct feature key will be used. This aligns the behavior of `tf.data.experimental.parse_example_dataset` to match the behavior of `tf.io.parse_example`....
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  10. doc/go_spec.html

    support for concurrent programming.  Programs are constructed from
    <i>packages</i>, whose properties allow efficient management of
    dependencies.
    </p>
    
    <p>
    The syntax is compact and simple to parse, allowing for easy analysis
    by automatic tools such as integrated development environments.
    </p>
    
    <h2 id="Notation">Notation</h2>
    <p>
    The syntax is specified using a
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top