- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,189 for expectHead (0.05 sec)
-
.github/ISSUE_TEMPLATE/30_contributor_regression.yml
- id: current-behavior
- attributes:
- label: Current Behavior
- description: Tell us what happens
- validations:
- required: true
- - type: textarea
- id: expected-behavior
- attributes:
- label: Expected Behavior
- description: Tell us what should happen
- validations:
- required: true
- - type: textarea
- id: context
- attributes:
- label: Context (optional)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 09 14:48:49 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
- tok := in.Stack.Next()
- if tok != scanner.Int {
- in.expectText("expected line number after #line")
- }
- line, err := strconv.Atoi(in.Stack.Text())
- if err != nil {
- in.Error("error parsing #line (cannot happen):", err)
- }
- tok = in.Stack.Next()
- if tok != scanner.String {
- in.expectText("expected file name in #line")
- }
- file, err := strconv.Unquote(in.Stack.Text())
- if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/encryption-v1_test.go
- }
- if encOff != 595127964 {
- t.Fatalf("Test: expected %d, got %d", 595127964, encOff)
- }
- if encLength != 32796 {
- t.Fatalf("Test: expected %d, got %d", 32796, encLength)
- }
- if skipLen != 32756 {
- t.Fatalf("Test: expected %d, got %d", 32756, skipLen)
- }
- if seqNumber != 4538 {
- t.Fatalf("Test: expected %d, got %d", 4538, seqNumber)
- }
- if partStart != 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
- ByteBuffer buffer = ByteBuffer.wrap(combined);
- buffer.put(md5Hash);
- buffer.put(murmur3Hash);
- HashCode expected = HashCode.fromBytes(combined);
- assertEquals(
- expected, Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32()).hashLong(42L));
- assertEquals(
- expected, Hashing.concatenating(asList(Hashing.md5(), Hashing.murmur3_32())).hashLong(42L));
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (2) -
cmd/sts-handlers_test.go
- },
- },
- }
- entRes.Timestamp = time.Time{}
- if !reflect.DeepEqual(expected, entRes) {
- c.Fatalf("policy entities mismatch: expected: %v, got: %v", expected, entRes)
- }
- dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
- res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
- if err != nil {
- c.Fatalf("Unable to list access keys: %v", err)
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (1) -
tests/customize_field_test.go
- DB.AutoMigrate(&CustomizeColumn{})
- expected := "foo"
- now := time.Now()
- cc := CustomizeColumn{ID: 666, Name: expected, Date: &now}
- if count := DB.Create(&cc).RowsAffected; count != 1 {
- t.Error("There should be one record be affected when create record")
- }
- var cc1 CustomizeColumn
- DB.First(&cc1, "mapped_name = ?", "foo")
- if cc1.Name != expected {
- t.Errorf("Failed to query CustomizeColumn")
- }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
- func TestConfigWriter_PrintBootstrapDump(t *testing.T) {
- tests := []struct {
- name string
- wantOutputFile string
- callPrime bool
- wantErr bool
- }{
- {
- name: "returns expected bootstrap dump from Envoy onto Stdout",
- callPrime: true,
- wantOutputFile: "testdata/bootstrapdump.json",
- },
- {
- name: "errors if config dump is not primed",
- wantErr: true,
- },
- }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
- CacheBuilder<?, ?> expected =
- CacheBuilder.newBuilder()
- .initialCapacity(10)
- .maximumSize(20)
- .concurrencyLevel(30)
- .weakKeys()
- .weakValues()
- .expireAfterAccess(10L, MINUTES)
- .expireAfterWrite(1L, HOURS);
- assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
- }
- return result
- }
- /**
- * Checks if `expected` and `observed` are equal when viewed as a set and headers are
- * deduped.
- *
- * TODO: See if duped headers should be preserved on decode and verify.
- */
- private fun assertSetEquals(
- message: String,
- expected: List<Header>,
- observed: List<Header>,
- ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
- fail();
- } catch (TimeoutException expected) {
- } catch (ExecutionException e) {
- throw new AssertionError(e);
- }
- }
- static void verifyTimedGetOnPendingFuture(Future<?> future) {
- try {
- getUninterruptibly(future, 0, SECONDS);
- fail();
- } catch (TimeoutException expected) {
- } catch (ExecutionException e) {
- throw new AssertionError(e);
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 2.6K bytes - Viewed (0)