Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,550 for writes (0.06 sec)

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

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.settings.Settings;
    
    /**
     * Reads and writes a {@link Settings} object to/from XML.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        }
    
                        releaseLease(key);
                    });
        }
    
        /**
         * Flush cached writes for a file path
         *
         * @param path file path
         */
        private void flushCachedWrites(String path) {
            log.debug("Flushing cached writes for path: {}", path);
    
            WeakReference<SmbFile> ref = fileCache.get(path);
            if (ref != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. cmd/erasure-utils.go

    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    		if write < int64(len(block)) {
    			n, err := dst.Write(block[:write])
    			if err != nil {
    				return 0, err
    			}
    			totalWritten += int64(n)
    			break
    		}
    
    		// Copy the block.
    		n, err := dst.Write(block)
    		if err != nil {
    			return 0, err
    		}
    
    		// Decrement output size.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      override fun contentType(): MediaType = CONTENT_TYPE
    
      override fun contentLength(): Long = writeOrCountBytes(null, true)
    
      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            try {
              cache.remove(networkRequest)
            } catch (_: IOException) {
              // The cache cannot be written.
            }
          }
        }
    
        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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. cmd/globals.go

    	// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
    	diskAssumeUnknownSize = 1 << 30
    
    	// diskMinInodes is the minimum number of inodes we want free on a disk to perform writes.
    	diskMinInodes = 1000
    
    	// tlsClientSessionCacheSize is the cache size for client sessions.
    	tlsClientSessionCacheSize = 100
    )
    
    func init() {
    	// Injected to prevent circular dependency.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  7. src/main/java/jcifs/netbios/SessionServicePacket.java

            return buffer[bufferIndex] & 0xFF;
        }
    
        int type, length;
    
        /**
         * Writes the packet to the specified byte array in wire format.
         *
         * @param dst the destination byte array to write to
         * @param dstIndex the starting index in the destination array
         * @return written bytes
         */
        public int writeWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

        @ValueSource(ints = { 0, 1, 5 })
        @DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset")
        void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            byte[] buf = new byte[offset + 8]; // extra space for safety
    
            // Act
            int written = req.writeBytesWireFormat(buf, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * to the <code>OutputStream</code> associated with this Named
         * Pipe instance although this is not a requirement (e.g. a
         * read-only named pipe would write data to this stream on
         * connection). Reading from this stream may block. Therefore it
         * may be necessary that an addition thread be used to read and
         * write to a Named Pipe.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. cmd/local-locker.go

    				// Check same i
    			} else {
    				if lri.Writer {
    					writers++
    				} else {
    					readers++
    				}
    				// Move to next
    				i++
    			}
    		}
    		if modified {
    			l.lockMap[k] = lris
    		}
    	}
    	t := time.Now()
    	l.lastCleanup.Store(&t)
    	l.readers.Store(readers)
    	l.writers.Store(writers)
    }
    
    func newLocker() *localLocker {
    	return &localLocker{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top