Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 273 for oidx (0.07 sec)

  1. docs/debugging/xl-meta/main.go

    						}
    
    						hasParity := 0
    						parityOK := make([]bool, m.shards)
    						for idx, sh := range v {
    							splitData[idx] = sh
    							if idx >= k && len(sh) > 0 {
    								parityOK[idx] = true
    								hasParity++
    								for i := range splitFilled[idx] {
    									splitFilled[idx][i] = 1
    								}
    							}
    						}
    
    						splitDataShards := make([]byte, len(splitFilled[0]))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. docs/site-replication/run-replication-with-checksum-header.sh

    PARTS=""
    for idx in {1..10}; do
    	F_SUFFIX=$(num_to_alpha "$idx")
    	PART_CHKSUM=$(openssl dgst -sha256 -binary <"xa${F_SUFFIX}" | base64)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 08:02:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. clause/set.go

    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    	for idx, key := range keys {
    		assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]}
    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    		assignments[idx] = Assignment{Column: Column{Name: value}, Value: Column{Table: "excluded", Name: value}}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. schema/utils.go

    	if len(foreignKeys) == 1 {
    		for idx, r := range foreignValues {
    			queryValues[idx] = r[0]
    		}
    
    		return clause.Column{Table: table, Name: foreignKeys[0]}, queryValues
    	}
    
    	columns := make([]clause.Column, len(foreignKeys))
    	for idx, key := range foreignKeys {
    		columns[idx] = clause.Column{Table: table, Name: key}
    	}
    
    	for idx, r := range foreignValues {
    		queryValues[idx] = r
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. cmd/dummy-data-generator_test.go

    	}
    }
    
    func (d *DummyDataGen) Read(b []byte) (n int, err error) {
    	k := len(b)
    	numLetters := int64(len(d.b))
    	for k > 0 && d.idx < d.length {
    		w := copy(b[len(b)-k:], d.b[d.idx%numLetters:])
    		k -= w
    		d.idx += int64(w)
    		n += w
    	}
    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/notification.go

    	states := make([]madmin.BgHealState, len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		idx := idx
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			st, err := client.BackgroundHealStatus(ctx)
    			if err != nil {
    				return err
    			}
    			states[idx] = st
    			return nil
    		}, idx, *client.host)
    	}
    
    	return states, ng.Wait()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        // idx = 2 -> :method: GET
        bytesIn.writeByte(0x86) // == Indexed - Add ==
        // idx = 6 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
        // idx = 4 -> :path: /
        bytesIn.writeByte(0xbe) // == Indexed - Add ==
        // idx = 62 -> :authority: www.example.com
        bytesIn.writeByte(0x58) // == Literal indexed ==
        // Indexed name (idx = 24) -> cache-control
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. cmd/object-api-deleteobject_test.go

    			continue
    		}
    
    		for idx := range result.Objects {
    			if result.Objects[idx].Name != testCase.objectsAfterDelete[idx] {
    				t.Errorf("Test %d: %s: Unexpected object found after delete, found = `%v`", i+1, instanceType, result.Objects[idx].Name)
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

      float results[2];
      for (int idx = 0; idx < 2; ++idx) {
        TF_AbstractTensor* result = TF_OutputListGet(func_outputs, idx);
        TFE_TensorHandle* handle = TF_AbstractTensorGetEagerTensor(result, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_Tensor* f_t = TFE_TensorHandleResolve(handle, s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        results[idx] = *static_cast<float*>(TF_TensorData(f_t));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. utils/utils.go

    	results := make([]string, len(values))
    
    	for idx, value := range values {
    		if valuer, ok := value.(driver.Valuer); ok {
    			value, _ = valuer.Value()
    		}
    
    		switch v := value.(type) {
    		case string:
    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    			results[idx] = strconv.FormatUint(uint64(v), 10)
    		default:
    			results[idx] = "nil"
    			vv := reflect.ValueOf(v)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top