Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for getWtp (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNothing() {
        getMap().putAll(emptyMap());
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutAll_unsupportedNothing() {
        try {
          getMap().putAll(emptyMap());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/groovy/buildSrc/src/main/java/UrlProcess.java

        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
        @Option(option = "url", description = "Configures the URL to send the request to.")
        public void setUrl(String url) {
            if (!getHttp().getOrElse(true) && url.startsWith("http://")) {
                throw new IllegalArgumentException("HTTP is not allowed");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprog/framepointer.go

    //go:noinline
    func framePointerAdjust1(x int) {
    	argp := uintptr(unsafe.Pointer(&x))
    	fp := *getFP()
    	if !(argp-0x100 <= fp && fp <= argp+0x100) {
    		print("saved FP=", fp, " &x=", argp, "\n")
    		panic("FAIL")
    	}
    
    	// grow the stack
    	grow(10000)
    
    	// check again
    	argp = uintptr(unsafe.Pointer(&x))
    	fp = *getFP()
    	if !(argp-0x100 <= fp && fp <= argp+0x100) {
    		print("saved FP=", fp, " &x=", argp, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:58:13 UTC 2023
    - 839 bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ManagedPropertyJavaInterOpIntegrationTest.groovy

                    @Internal
                    public abstract SetProperty<Integer> getSet();
    
                    @Internal
                    public abstract MapProperty<Integer, Boolean> getMap();
    
                    @TaskAction
                    public void run() {
                        System.out.println("flag = " + getFlag().get());
                        System.out.println("message = " + getMessage().get());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/kotlin/buildSrc/src/main/java/UrlProcess.java

        @Input
        @Option(option = "http", description = "Configures the http protocol to be allowed.")
        public abstract Property<Boolean> getHttp();
    
        @Option(option = "url", description = "Configures the URL to send the request to.")
        public void setUrl(String url) {
            if (!getHttp().getOrElse(true) && url.startsWith("http://")) {
                throw new IllegalArgumentException("HTTP is not allowed");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNothing() {
        getMap().putAll(emptyMap());
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutAll_unsupportedNothing() {
        try {
          getMap().putAll(emptyMap());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    public class BiMapInverseTester<K, V> extends AbstractBiMapTester<K, V> {
    
      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.plugins.ide.eclipse.model.EclipseModel.getSynchronizationTasks()> does not have raw return type assignable to org.gradle.api.provider.Provider in (EclipseModel.java:0)
    Method <org.gradle.plugins.ide.eclipse.model.EclipseModel.getWtp()> does not have raw return type assignable to org.gradle.api.provider.Property in (EclipseModel.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
Back to top