Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 413 for got4 (0.03 sec)

  1. cmd/metrics-realtime.go

    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error()))
    		} else {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/erasure_test.go

    				t.Errorf("Test %d: failed to write data blocks: %v", i, err)
    			}
    			if !bytes.Equal(decodedData.Bytes(), data) {
    				t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data)
    			}
    		}
    	}
    }
    
    // Setup for erasureCreateFile and erasureReadFile tests.
    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. docs/distributed/decom-compressed-sse-s3.sh

    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/jwt/parser_test.go

    				t.Errorf("Invalid token passed validation")
    			}
    
    			if data.errors != 0 {
    				_, ok := err.(*jwt.ValidationError)
    				if !ok {
    					t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err)
    				}
    			}
    		})
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher.go

    	// if nil is returned, we found it but ambient is not enabled
    	for ambientPod, err = s.handlers.GetPodIfAmbient(name, namespace); (err != nil) && (retries < maxStaleRetries); retries++ {
    		log.Warnf("got an event for pod %s in namespace %s not found in current pod cache, retry %d of %d",
    			name, namespace, retries, maxStaleRetries)
    		if !sleep.UntilContext(s.ctx, time.Duration(msInterval)*time.Millisecond) {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. cmd/erasure-encode_test.go

    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    		if err == nil {
    			if length := int64(len(data[test.offset:])); n != length {
    				t.Errorf("Test %d: invalid number of bytes written: got: #%d want #%d", i, n, length)
    			}
    			writers := make([]io.Writer, len(disks))
    			for i, disk := range disks {
    				if disk == nil {
    					continue
    				}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
              << " in fdef: " << fdef.DebugString();
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			wantErr := testCase.wantAPICode
    			if gotErr != wantErr {
    				t.Errorf("test %d: want api error %q, got %q", i, wantErr, gotErr)
    			}
    			if testCase.wantHeaders != nil {
    				for k, v := range testCase.wantHeaders {
    					got := rec.Header().Get(k)
    					if got != v {
    						t.Errorf("Want header %s = %s, got %#v", k, v, rec.Header())
    					}
    				}
    			}
    
    		}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. cmd/generic-handlers_test.go

    }
    
    func TestIsHTTPHeaderSizeTooLarge(t *testing.T) {
    	for i, test := range isHTTPHeaderSizeTooLargeTests {
    		if res := isHTTPHeaderSizeTooLarge(test.header); res != test.shouldFail {
    			t.Errorf("Test %d: Expected %v got %v", i, res, test.shouldFail)
    		}
    	}
    }
    
    var containsReservedMetadataTests = []struct {
    	header     http.Header
    	shouldFail bool
    }{
    	{
    		header: http.Header{"X-Minio-Key": []string{"value"}},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top