Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 411 for Got (0.02 sec)

  1. src/cmd/asm/internal/asm/operand_test.go

    			parser.start(lex.Tokenize(test.input))
    			addr := obj.Addr{}
    			parser.operand(&addr)
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("fail at %s: got no errors; expected %s\n", test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("fail at %s: got %s; expected %s", test.input, err, test.error)
    		}
    	}
    }
    
    func testOperandParser(t *testing.T, parser *Parser, tests []operandTest) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. docs/distributed/distributed-from-config-file.sh

    ./mc cp ./lrgfile minio1/testbucket
    
    actual_checksum=$(./mc cat minio3/testbucket/lrgfile | md5sum)
    
    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}"
    	exit
    fi
    
    # Compare the difference of the list of disks and their location, with the below expected output
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. internal/grid/connection_test.go

    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	wrapServer := func(handler http.Handler) http.Handler {
    		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    			t.Logf("Got a %s request for: %v", r.Method, r.URL)
    			handler.ServeHTTP(w, r)
    		})
    	}
    	connReady := make(chan struct{})
    	// We fake a local and remote server.
    	localHost := hosts[0]
    	remoteHost := hosts[1]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    	if len(buf) <= 8 {
    		return payload, 0, 0, fmt.Errorf("xlMeta: no data")
    	}
    
    	if !bytes.Equal(buf[:4], xlHeader[:]) {
    		return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4])
    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    			if tt.expectedError != nil && err == nil {
    				t.Errorf("Expected %s, got %s", tt.expectedError, err)
    			}
    			if tt.expectedError == nil && err != nil {
    				t.Errorf("Expected %s, got %s", tt.expectedError, err)
    			}
    			if tt.expectedReadQuorum != actualReadQuorum {
    				t.Errorf("Expected Read Quorum %d, got %d", tt.expectedReadQuorum, actualReadQuorum)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. docs/distributed/decom-encrypted-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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractService.java

              "shutdownWhenStartupFinishes can only be set if state is STARTING. Got %s instead.",
              internalState);
          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordedResponse.kt

              found = true
              break
            }
          }
          assertThat(
            found,
            "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure",
          ).isTrue()
        }
    
      fun assertFailure(vararg messages: String) =
        apply {
          assertThat(failure, "No failure found").isNotNull()
          assertThat(messages).contains(failure!!.message)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

        // Read a token68, a sequence of parameters, or nothing.
        val commaPrefixed = skipCommasAndWhitespace()
        peek = readToken()
        if (peek == null) {
          if (!exhausted()) return // Expected a token; got something else.
          result.add(Challenge(schemeName, emptyMap()))
          return
        }
    
        var eqCount = skipAll('='.code.toByte())
        val commaSuffixed = skipCommasAndWhitespace()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top