Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for strike (0.08 sec)

  1. docs/en/docs/release-notes.md

        * `discriminator`
        * `strict`
        * `multiple_of`
        * `allow_inf_nan`
        * `max_digits`
        * `decimal_places`
        * `json_schema_extra`
    
    ...you can read about them in the Pydantic docs.
    
    * The parameter `regex` has been deprecated and replaced by `pattern`.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack.cc

      // 1) nullptr indicates tensor is compact and row-majored.
      // 2) fill in the strides array as the real case for compact row-major data.
      // Here we choose option 2, since some frameworks didn't handle the strides
      // argument properly.
      dlm_tensor->dl_tensor.strides = stride_arr->data();
    
      dlm_tensor->dl_tensor.byte_offset =
          0;  // TF doesn't handle the strides and byte_offsets here
      return static_cast<void*>(dlm_tensor);
    }
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	}
    	return
    }
    
    func testReadLine(t *testing.T, input []byte) {
    	//for stride := 1; stride < len(input); stride++ {
    	for stride := 1; stride < 2; stride++ {
    		done := 0
    		reader := testReader{input, stride}
    		l := NewReaderSize(&reader, len(input)+1)
    		for {
    			line, isPrefix, err := l.ReadLine()
    			if len(line) > 0 && err != nil {
    				t.Errorf("ReadLine returned both data and error: %s", err)
    			}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 28 21:04:51 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	}
    	fi.Metadata = make(map[string]string, len(j.MetaSys))
    	for k, v := range j.MetaSys {
    		fi.Metadata[k] = string(v)
    	}
    
    	fi.ReplicationState = GetInternalReplicationState(j.MetaSys)
    	if j.FreeVersion() {
    		fi.SetTierFreeVersion()
    		fi.TransitionTier = string(j.MetaSys[metaTierName])
    		fi.TransitionedObjName = string(j.MetaSys[metaTierObjName])
    		fi.TransitionVersionID = string(j.MetaSys[metaTierVersionID])
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

            This dependency is strict about it. If you want to be permissive, use instead the
            OAuth2PasswordRequestForm dependency class.
        username: username string. The OAuth2 spec requires the exact field name "username".
        password: password string. The OAuth2 spec requires the exact field name "password".
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    	}
    
    	opts.Tags = map[string]string{
    		"healObject": auditObjectOp{
    			Name: opts.Object,
    			Pool: er.poolIndex + 1,
    			Set:  er.setIndex + 1,
    		}.String(),
    	}
    
    	auditLogInternal(ctx, opts)
    }
    
    // Heals an object by re-writing corrupt/missing erasure blocks.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    }
    
    func (m *batchJobMetrics) delete(jobID string) {
    	m.Lock()
    	defer m.Unlock()
    
    	delete(m.metrics, jobID)
    }
    
    func (m *batchJobMetrics) save(jobID string, ri *batchJobInfo) {
    	m.Lock()
    	defer m.Unlock()
    
    	m.metrics[jobID] = ri.clone()
    }
    
    type objTraceInfoer interface {
    	TraceObjName() string
    	TraceVersionID() string
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    	// ILMTransition - audit trail for ILM transitioning.
    	ILMTransition = " ilm:transition"
    )
    
    func auditLogLifecycle(ctx context.Context, oi ObjectInfo, event string, tags map[string]string, traceFn func(event string, metadata map[string]string, err error)) {
    	var apiName string
    	switch event {
    	case ILMExpiry:
    		apiName = "ILMExpiry"
    	case ILMFreeVersionDelete:
    		apiName = "ILMFreeVersionDelete"
    	case ILMTransition:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    func anonymizeHost(hostAnonymizer map[string]string, endpoint Endpoint, poolNum int, srvrNum int) {
    	if len(endpoint.Host) == 0 {
    		return
    	}
    
    	currentURL := endpoint.String()
    
    	// mapIfNotPresent - Maps the given key to the value only if the key is not present in the map
    	mapIfNotPresent := func(m map[string]string, key string, val string) {
    		_, found := m[key]
    		if !found {
    			m[key] = val
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    	const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
    	var (
    		metadata = make([]map[string]string, 0, BatchSize)
    		buckets  = make([]string, 0, BatchSize)
    		names    = make([]string, 0, BatchSize)
    	)
    	for len(objects) > 0 {
    		N := BatchSize
    		if len(objects) < BatchSize {
    			N = len(objects)
    		}
    		batch := objects[:N]
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top