Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for diffRes (0.24 sec)

  1. src/cmd/api/api_test.go

    		gotOK := compareAPI(buf, tt.features, tt.required, tt.exception)
    		if gotOK != tt.ok {
    			t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok)
    		}
    		if got := buf.String(); got != tt.out {
    			t.Errorf("%s: output differs\nGOT:\n%s\nWANT:\n%s", tt.name, got, tt.out)
    		}
    	}
    }
    
    func TestSkipInternal(t *testing.T) {
    	tests := []struct {
    		pkg  string
    		want bool
    	}{
    		{"net/http", true},
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. docs/site-replication/README.md

      - Bucket Encryption configuration
    
    > NOTE: Bucket versioning is automatically enabled for all new and existing buckets on all replicated sites.
    
    The following Bucket features will **not be replicated**, is designed to differ between sites:
    
    - Bucket notification configuration
    - Bucket lifecycle (ILM) configuration
    
    ## Pre-requisites
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Feb 26 21:30:28 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/healthcheck-handler.go

    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // LivenessCheckHandler checks whether MinIO is up. It differs from the
    // readiness handler since a failing liveness check causes pod restarts
    // in K8S environments. Therefore, it does not contact external systems.
    func LivenessCheckHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		}
    
    		if actualError.BucketName != bucketName {
    			t.Fatal(failTestStr(anonTestStr, "error response bucket name differs from expected value"))
    		}
    
    		if actualError.Key != objectName {
    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. ci/official/utilities/setup_macos.sh

    # limitations under the License.
    # ==============================================================================
    #
    # macOS specific setup for all TF scripts.
    #
    
    # Mac version of Core utilities differ in usage. Since our scripts are written
    # with the GNU style, we need to set GNU utilities to be default on Mac.
    if [[ -n "$(which grealpath)" ]] &&  [[ -n "$(which gstat)" ]]; then
      alias realpath=grealpath
      alias stat=gstat
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    	if got := buf.Bytes(); !bytes.Equal(got, want) {
    		fmt.Printf("%x\n%x\n", got, want)
    		t.Error("contents of time-go.zip differ")
    	}
    }
    
    func TestWriterOffset(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    		t.Fatal("rand.Read failed:", err)
    	}
    	writeTests[1].Data = largeData
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/bytes/reader_test.go

    	var with, withOut nErr
    	with.n, with.err = io.Copy(discard, NewReader(nil))
    	withOut.n, withOut.err = io.Copy(discard, justReader{NewReader(nil)})
    	if with != withOut {
    		t.Errorf("behavior differs: with = %#v; without: %#v", with, withOut)
    	}
    }
    
    // tests that Len is affected by reads, but Size is not.
    func TestReaderLenSize(t *testing.T) {
    	r := NewReader([]byte("abc"))
    	io.CopyN(io.Discard, r, 1)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		for x := 0; x <= size-len; x++ {
    			for y := 0; y <= size-len; y++ {
    				for diffpos := x; diffpos < x+len; diffpos++ {
    					a[diffpos] = 1
    					if Equal(a[x:x+len], b[y:y+len]) || Equal(b[y:y+len], a[x:x+len]) {
    						t.Errorf("NotEqual(%d, %d, %d, %d) = true", len, x, y, diffpos)
    					}
    					a[diffpos] = 0
    				}
    			}
    		}
    	}
    }
    
    var indexTests = []BinOpTest{
    	{"", "", 0},
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

          TF_Status* status) const;
    
      void AsyncWait(TFE_Context* context, TF_Status* status) const;
    
      // Device strings for component devices that only include a
      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
      // A sequence of device names, indicating which devices replicated operations
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. cmd/bucket-policy-handlers_test.go

    			if err != nil {
    				t.Fatalf("unexpected error. %v", err)
    			}
    
    			if !reflect.DeepEqual(expectedPolicy, gotPolicy) {
    				t.Errorf("Test %d: %s: Bucket policy differs from expected value.", i+1, instanceType)
    			}
    		}
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV2 := httptest.NewRecorder()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top