Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 698 for match4 (0.1 sec)

  1. cmd/site-replication.go

    	return true
    }
    
    // isIAMPolicyReplicated returns true if count of replicated IAM policies matches total
    // number of sites and IAM policies are identical.
    func isIAMPolicyReplicated(cntReplicated, total int, policies []*policy.Policy) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *policy.Policy
    	for i, p := range policies {
    		if i == 0 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err != nil {
    		t.Fatal(err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    	fsys["subfolder"] = &fstest.MapFile{Mode: 0o555 | os.ModeDir}
    
    	// Test that we can get the files back from the archive
    	tr := NewReader(&buf)
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. docs/en/docs/async.md

    That, plus the simple fact that Python is the main language for **Data Science**, Machine Learning and especially Deep Learning, make FastAPI a very good match for Data Science / Machine Learning web APIs and applications (among many others).
    
    To see how to achieve this parallelism in production see the section about [Deployment](deployment/index.md){.internal-link target=_blank}.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    		testBytes[i] = 'a' + byte(i%26)
    	}
    	testString = string(testBytes)
    }
    
    // Verify that contents of buf match the string s.
    func check(t *testing.T, testname string, buf *Buffer, s string) {
    	bytes := buf.Bytes()
    	str := buf.String()
    	if buf.Len() != len(bytes) {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/archive/tar/tar_test.go

    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{1, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, math.MaxInt64}}, size: math.MaxInt64,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{3, 3}}, size: 5,
    		wantValid: false,
    	}, {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    	n, err := tw.curr.Write(b)
    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    }
    
    // readFrom populates the content of the current file by reading from r.
    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

        // Compare that the graphs match.
        GraphDef expected_gdef;
        GraphDef gdef;
        EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef));
        EXPECT_TRUE(GetGraphDef(graph_, &gdef));
        TF_EXPECT_GRAPH_EQ(expected_gdef, gdef);
    
        // Compare that the output of the gradients of both graphs match.
        RunGraphsAndCompareOutputs(grad_outputs, expected_grad_outputs);
      }
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    	var testTime = time.Date(2009, time.November, 10, 23, 45, 58, 0, time.UTC)
    	fh := new(FileHeader)
    	fh.SetModTime(testTime)
    	outTime := fh.ModTime()
    	if !outTime.Equal(testTime) {
    		t.Errorf("times don't match: got %s, want %s", outTime, testTime)
    	}
    }
    
    func testHeaderRoundTrip(fh *FileHeader, wantUncompressedSize uint32, wantUncompressedSize64 uint64, t *testing.T) {
    	fi := fh.FileInfo()
    	fh2, err := FileInfoHeader(fi)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    			}
    			metrics = append(metrics,
    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    						Name:      MetricName(jtype + "_objects"),
    						Help:      "Get successfully completed batch job " + jtype + "objects",
    						Type:      counterMetric,
    					},
    					Value:          objects,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top