Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,189 for expectHead (0.05 sec)

  1. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

    1. id: current-behavior
    2. attributes:
    3. label: Current Behavior
    4. description: Tell us what happens
    5. validations:
    6. required: true
    7. - type: textarea
    8. id: expected-behavior
    9. attributes:
    10. label: Expected Behavior
    11. description: Tell us what should happen
    12. validations:
    13. required: true
    14. - type: textarea
    15. id: context
    16. attributes:
    17. 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)
  2. src/cmd/asm/internal/lex/input.go

    1. tok := in.Stack.Next()
    2. if tok != scanner.Int {
    3. in.expectText("expected line number after #line")
    4. }
    5. line, err := strconv.Atoi(in.Stack.Text())
    6. if err != nil {
    7. in.Error("error parsing #line (cannot happen):", err)
    8. }
    9. tok = in.Stack.Next()
    10. if tok != scanner.String {
    11. in.expectText("expected file name in #line")
    12. }
    13. file, err := strconv.Unquote(in.Stack.Text())
    14. 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)
  3. cmd/encryption-v1_test.go

    1. }
    2. if encOff != 595127964 {
    3. t.Fatalf("Test: expected %d, got %d", 595127964, encOff)
    4. }
    5. if encLength != 32796 {
    6. t.Fatalf("Test: expected %d, got %d", 32796, encLength)
    7. }
    8. if skipLen != 32756 {
    9. t.Fatalf("Test: expected %d, got %d", 32756, skipLen)
    10. }
    11. if seqNumber != 4538 {
    12. t.Fatalf("Test: expected %d, got %d", 4538, seqNumber)
    13. }
    14. 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)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

    1. ByteBuffer buffer = ByteBuffer.wrap(combined);
    2. buffer.put(md5Hash);
    3. buffer.put(murmur3Hash);
    4. HashCode expected = HashCode.fromBytes(combined);
    5.  
    6. assertEquals(
    7. expected, Hashing.concatenating(Hashing.md5(), Hashing.murmur3_32()).hashLong(42L));
    8. assertEquals(
    9. expected, Hashing.concatenating(asList(Hashing.md5(), Hashing.murmur3_32())).hashLong(42L));
    10. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (2)
  5. cmd/sts-handlers_test.go

    1. },
    2. },
    3. }
    4.  
    5. entRes.Timestamp = time.Time{}
    6. if !reflect.DeepEqual(expected, entRes) {
    7. c.Fatalf("policy entities mismatch: expected: %v, got: %v", expected, entRes)
    8. }
    9.  
    10. dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    11. res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    12. if err != nil {
    13. c.Fatalf("Unable to list access keys: %v", err)
    14. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (1)
  6. tests/customize_field_test.go

    1. DB.AutoMigrate(&CustomizeColumn{})
    2.  
    3. expected := "foo"
    4. now := time.Now()
    5. cc := CustomizeColumn{ID: 666, Name: expected, Date: &now}
    6.  
    7. if count := DB.Create(&cc).RowsAffected; count != 1 {
    8. t.Error("There should be one record be affected when create record")
    9. }
    10.  
    11. var cc1 CustomizeColumn
    12. DB.First(&cc1, "mapped_name = ?", "foo")
    13.  
    14. if cc1.Name != expected {
    15. t.Errorf("Failed to query CustomizeColumn")
    16. }
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    1. func TestConfigWriter_PrintBootstrapDump(t *testing.T) {
    2. tests := []struct {
    3. name string
    4. wantOutputFile string
    5. callPrime bool
    6. wantErr bool
    7. }{
    8. {
    9. name: "returns expected bootstrap dump from Envoy onto Stdout",
    10. callPrime: true,
    11. wantOutputFile: "testdata/bootstrapdump.json",
    12. },
    13. {
    14. name: "errors if config dump is not primed",
    15. wantErr: true,
    16. },
    17. }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    1. CacheBuilder<?, ?> expected =
    2. CacheBuilder.newBuilder()
    3. .initialCapacity(10)
    4. .maximumSize(20)
    5. .concurrencyLevel(30)
    6. .weakKeys()
    7. .weakValues()
    8. .expireAfterAccess(10L, MINUTES)
    9. .expireAfterWrite(1L, HOURS);
    10. assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
    11. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

    1. }
    2. return result
    3. }
    4.  
    5. /**
    6. * Checks if `expected` and `observed` are equal when viewed as a set and headers are
    7. * deduped.
    8. *
    9. * TODO: See if duped headers should be preserved on decode and verify.
    10. */
    11. private fun assertSetEquals(
    12. message: String,
    13. expected: List<Header>,
    14. observed: List<Header>,
    15. ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    1. fail();
    2. } catch (TimeoutException expected) {
    3. } catch (ExecutionException e) {
    4. throw new AssertionError(e);
    5. }
    6. }
    7.  
    8. static void verifyTimedGetOnPendingFuture(Future<?> future) {
    9. try {
    10. getUninterruptibly(future, 0, SECONDS);
    11. fail();
    12. } catch (TimeoutException expected) {
    13. } catch (ExecutionException e) {
    14. throw new AssertionError(e);
    15. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top