Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for _after (0.55 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/regexp/syntax/parse.go

    // after is the regexp suffix following after the repetition operator.
    // repeat returns an updated 'after' and an error, if any.
    func (p *parser) repeat(op Op, min, max int, before, after, lastRepeat string) (string, error) {
    	flags := p.flags
    	if p.flags&PerlX != 0 {
    		if len(after) > 0 && after[0] == '?' {
    			after = after[1:]
    			flags ^= NonGreedy
    		}
    		if lastRepeat != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top