Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,247 for coerce (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         * @param source The {@link Source}, must not be {@code null}
         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         * @see #build(ProjectBuilderRequest)
         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source)
                throws ProjectBuilderException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 16 20:36:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

     */
    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
      /** Write [byteCount] bytes from [source] to the file at [pos]. */
      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount < 0L || byteCount > source.size) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
        delegate.write(source, toWrite)
    
        if (bytesWritten == triggerByteCount) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    "Source Code" means the form of a Program preferred for making
    modifications, including but not limited to software source code,
    documentation source, and configuration files.
    
    "Secondary License" means either the GNU General Public License,
    Version 2.0, or any later versions of that license, including any
    exceptions or additional permissions as identified by the initial
    Contributor.
    
    2. GRANT OF RIGHTS
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/local-locker_test.go

    	rResources := make([]string, 1000)
    	quorum := 0
    	l := newLocker()
    	ctx := t.Context()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    &quorum,
    		}
    		ok, err := l.Lock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. docs/contribute/code_of_conduct.md

    Open Source Code of Conduct
    ===========================
    
    At Square, we are committed to contributing to the open source community and simplifying the process
    of releasing and managing open source software. We’ve seen incredible support and enthusiasm from
    thousands of people who have already contributed to our projects — and we want to ensure our community
    continues to be truly open for everyone.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java

        /**
         * Install an artifact from a particular file.
         *
         * @param source the file to install
         * @param artifact the artifact definition
         * @param localRepository the local repository to install into
         * @throws ArtifactInstallationException if an error occurred installing the artifact
         */
        void install(File source, Artifact artifact, ArtifactRepository localRepository)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. cmd/object-handlers-common.go

    // Validates the preconditions for CopyObjectPart, returns true if CopyObjectPart
    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertTrue(newByteSource(0, start).contentEquals(joined));
      }
    
      public void testReadSingleByte() throws Exception {
        ByteSource source = newByteSource(0, 10);
        ByteSource joined = ByteSource.concat(source, source);
        assertEquals(20, joined.size());
        InputStream in = joined.openStream();
        assertFalse(in.markSupported());
        assertEquals(10, in.available());
        int total = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top