Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 551 for ensures (0.15 sec)

  1. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          munch();
        }
      }
    
      private void munch() {
        Java8Compatibility.flip(buffer);
        while (buffer.remaining() >= chunkSize) {
          // we could limit the buffer to ensure process() does not read more than
          // chunkSize number of bytes, but we trust the implementations
          process(buffer);
        }
        buffer.compact(); // preserve any remaining data that do not make a full chunk
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/XmlEscapers.java

     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
     * non-ASCII characters to their numeric entity replacements. These XML escapers provide the minimal
     * level of escaping to ensure that the output can be safely included in a Unicode XML document.
     *
     * <p>For details on the behavior of the escapers in this class, see sections <a
     * href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> and <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       * Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request
       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            write( b, 0, b.length );
        }
    
        public boolean isOpen()
        {
            return file.isOpen();
        }
        void ensureOpen() throws IOException {
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 );
                if( append ) {
                    fp = file.length();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  5. cmd/erasure-coding.go

    	tillOffset := endShard*shardSize + shardSize
    	if tillOffset > shardFileSize {
    		tillOffset = shardFileSize
    	}
    	return tillOffset
    }
    
    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. cmd/api-router.go

    // gzip the response and throttle the handler via `maxClients`. Each of these
    // can be disabled via the corresponding `s3HFlag`.
    //
    // CAUTION: for requests involving large req/resp bodies ensure to pass the
    // `traceHdrsS3HFlag`, otherwise both headers and body will be traced, causing
    // high memory usage!
    func s3APIMiddleware(f http.HandlerFunc, flags ...s3HFlag) http.HandlerFunc {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTest.java

          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newWriter() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    This is not by chance, the whole framework was built around that design.
    
    And it was thoroughly tested at the design phase, before any implementation, to ensure it would work with all the editors.
    
    There were even some changes to Pydantic itself to support this.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/bytes/buffer.go

    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    					owner, grantToBeReleased.lockUID, isReadLock, names...)
    			}
    		}
    	}()
    
    	return quorumLocked
    }
    
    // checkFailedUnlocks determines whether we have sufficiently unlocked all
    // resources to ensure no deadlocks for future callers
    func checkFailedUnlocks(locks []string, tolerance int) bool {
    	unlocksFailed := 0
    	for lockID := range locks {
    		if isLocked(locks[lockID]) {
    			unlocksFailed++
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top