Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isBool (0.06 sec)

  1. doc/go1.17_spec.html

    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    	_, isString := v.(string)
    	if isBool || isString {
    		i := v                         // type of i is type of x (interface{})
    		printString("type is bool or string")
    	} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    	_, isString := v.(string)
    	if isBool || isString {
    		i := v                         // type of i is type of x (interface{})
    		printString("type is bool or string")
    	} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/LoomTest.kt

        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testIfSupported() {
        assertThat(platform.isLoom()).isTrue()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * points to the same directory, and that either {@link Model#isRoot()}
         * is {@code true} or that {@code basedir} contains a {@code .mvn} child
         * directory.
         *
         * @return {@code true} if the project is the root project
         * @see Model#isRoot()
         */
        boolean isRootProject();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          connectionListener.forbidLock(client.dispatcher)
          testClient = client
        }
        return client
      }
    
      private fun initialClientBuilder(): OkHttpClient.Builder =
        if (isLoom()) {
          val backend = TaskRunner.RealBackend(loomThreadFactory())
          val taskRunner = TaskRunner(backend)
    
          OkHttpClient.Builder()
            .connectionPool(
              buildConnectionPool(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
    
        fun isOpenJsse() = getPlatformSystemProperty() == OPENJSSE_PROPERTY
    
        fun isLoom() = getPlatformSystemProperty() == LOOM_PROPERTY
    
        fun isGraalVMImage() = TestUtil.isGraalVmImage
    
        fun hasHttp2Support() = !isJdk8()
    
        fun assumeConscrypt() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  8. docs/de/docs/tutorial/request-files.md

    ```
    
    ////
    
    `UploadFile` zu verwenden, hat mehrere Vorzüge gegenüber `bytes`:
    
    * Sie müssen `File()` nicht als Parameter-Defaultwert verwenden.
    * Es wird eine <abbr title='Aufgespult, Warteschlangenartig'>„Spool“</abbr>-Datei verwendet:
        * Eine Datei, die bis zu einem bestimmten Größen-Limit im Arbeitsspeicher behalten wird, und wenn das Limit überschritten wird, auf der Festplatte gespeichert wird.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/request_files.md

    ```
    
    ////
    
    Utilizando `UploadFile` tem várias vantagens sobre `bytes`:
    
    * Você não precisa utilizar `File()` como o valor padrão do parâmetro.
    * A classe utiliza um arquivo em "spool":
        * Um arquivo guardado em memória até um tamanho máximo, depois desse limite ele é guardado em disco.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                int t = getType();
                if ( t == TYPE_SHARE ) {
                    this.size = fetchAllocationInfo(th).getCapacity();
                }
                else if ( !this.fileLocator.isRoot() && t != TYPE_NAMED_PIPE ) {
                    queryPath(th, this.fileLocator.getUNCPath(), FileInformation.FILE_STANDARD_INFO);
                }
                else {
                    this.size = 0L;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top