Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 361 for after8 (0.26 sec)

  1. src/sync/atomic/atomic_test.go

    			t.Fatalf("wrong x.i after swap: x.i=%p want %p", x.i.Load(), q)
    		}
    	}
    	if x.before != magicptr || x.after != magicptr {
    		t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
    	}
    }
    
    func TestLoadInt32(t *testing.T) {
    	var x struct {
    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal1) {
    		t.Fatal("HealObject failed")
    	}
    
    	fileInfoPostHeal2, err = disk.ReadVersion(context.Background(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        }
    
        def "convention value ignored after value has been set"() {
            def property = propertyWithNoValue()
            property.set(someValue())
    
            expect:
            property.convention(someOtherValue())
            property.get() == someValue()
        }
    
        def "convention provider ignored after value has been set"() {
            def provider = brokenSupplier()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	if r.UnreadRune() == nil {
    		t.Error("expected error after UnreadRune (1)")
    	}
    	// Test error after Read.
    	_, _, err = r.ReadRune() // reset state
    	if err != nil {
    		t.Error("unexpected error on ReadRune (2):", err)
    	}
    	_, err = r.Read(buf)
    	if err != nil {
    		t.Error("unexpected error on Read (2):", err)
    	}
    	if r.UnreadRune() == nil {
    		t.Error("expected error after Read (2)")
    	}
    	// Test error after ReadByte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "cannot set to empty map after changes disallowed"() {
            given:
            property.set(someValue())
            property.disallowChanges()
            when:
            property.empty()
            then:
            def e = thrown IllegalStateException
            e.message == 'The value for this property cannot be changed any further.'
        }
    
        def "cannot add entry after value finalized"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            ex.message == "Cannot add a null element to a property of type ${type().simpleName}."
        }
    
        def "ignores convention after element added"() {
            expect:
            property.add("a")
            property.convention(["other"])
            assertValueIs(["a"])
        }
    
        def "ignores convention after element added using provider"() {
            expect:
            property.add(Providers.of("a"))
            property.convention(["other"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    			// skip all objects that are created before the specified time.
    			return true
    		}
    
    		if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.After(oi.ModTime) {
    			// skip all objects that are created after the specified time.
    			return true
    		}
    
    		if hasTags {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := oi.UserTags
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  9. src/testing/testing.go

    		m.deps.SetPanicOnExit0(true)
    	}
    }
    
    // after runs after all testing.
    func (m *M) after() {
    	m.afterOnce.Do(func() {
    		m.writeProfiles()
    	})
    
    	// Restore PanicOnExit0 after every run, because we set it to true before
    	// every run. Otherwise, if m.Run is called multiple times the behavior of
    	// os.Exit(0) will not be restored after the second run.
    	if *panicOnExit0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            then:
            def e = thrown(IllegalStateException)
            e.message == 'The value for <display> is final and cannot be changed any further.'
        }
    
        def "resolves path to file when queried after implicitly finalized"() {
            given:
            def file = new File('one')
            collection.from('a')
    
            when:
            collection.implicitFinalizeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top