Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,787 for coerce (0.06 seconds)

  1. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                v1 = """
                    class Source(some: String) {
                        fun foo(bar: String) {}
                    }
                    operator fun Source.invoke(arg: String) {}
                """,
                v2 = """
                    class Source(some: String?) {
                        fun foo(bar: String?) {}
                    }
                    operator fun Source.invoke(arg: String?) {}
                """
            ) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        /**
         * Gets the installation Toolchains source.
         *
         * @return the installation Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getUserToolchainsSource();
    
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

        private var closed = false
        private var noMoreParts = false
    
        /** This is only part that's allowed to read from the underlying source. */
        private var currentPart: PartSource? = null
    
        @Throws(IOException::class)
        constructor(response: ResponseBody) : this(
          source = response.source(),
          boundary =
            response.contentType()?.parameter("boundary")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

                result.setLanguages(DfTypeUtil.toString(source.get("languages")));
                result.setQueryId(DfTypeUtil.toString(source.get("queryId")));
                result.setQueryOffset(DfTypeUtil.toInteger(source.get("queryOffset")));
                result.setQueryPageSize(DfTypeUtil.toInteger(source.get("queryPageSize")));
                result.setQueryTime(DfTypeUtil.toLong(source.get("queryTime")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

        // +---------------------------------------------------------------+
        val length = source.readMedium()
        if (length > INITIAL_MAX_FRAME_SIZE) {
          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

    import org.apache.commons.lang3.StringUtils;
    import org.apache.commons.lang3.SystemUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.exec.Crawler;
    import org.codelibs.fess.helper.ProcessHelper;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertTrue(joinedReader.ready());
        assertEquals('a', joinedReader.read());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            mergeModel_Name(target, source, sourceDominant, context);
            mergeModel_Description(target, source, sourceDominant, context);
            mergeModel_Url(target, source, sourceDominant, context);
            mergeModel_InceptionYear(target, source, sourceDominant, context);
            mergeModel_Organization(target, source, sourceDominant, context);
            mergeModel_Licenses(target, source, sourceDominant, context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top