Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 428 for asneeded (0.05 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

                    // Remove from cache to force refresh
                    entry.removeChild(childName);
                    break;
                    
                case DIRECTORY_RENAMED:
                    // Full invalidation needed
                    entry.invalidate();
                    break;
            }
        }
        
        public void handleDirectoryLeaseBreak(Smb2LeaseKey leaseKey, int newState) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                    && this.dataDisplacement + this.dataCount >= this.totalDataCount) {
                this.hasMore = false;
            }
            return this;
        }
    
        /**
         * Calculates padding needed for the given offset
         * @param offset
         *            the current offset
         * @return padding size in bytes
         */
        protected int pad(final int offset) {
            final int p = offset % getPadding();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        @DisplayName("Should handle buffer boundary conditions")
        void testBufferBoundaryConditions() throws Exception {
            // Given - notification exactly at buffer end
            byte[] buffer = new byte[104]; // Exact size needed
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Write structure
            SMBUtil.writeInt2(9, buffer, offset);
            SMBUtil.writeInt2(80 - 64, buffer, offset + 2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

      override fun close() {
        source.close()
      }
    
      /**
       * Decompression of the header block occurs above the framing layer. This class lazily reads
       * continuation frames as they are needed by [Hpack.Reader.readHeaders].
       */
      internal class ContinuationSource(
        private val source: BufferedSource,
      ) : Source {
        var length: Int = 0
        var flags: Int = 0
        var streamId: Int = 0
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                mayOverrideDirectorySystemProperty(context, "user.home", result);
                return result;
            }
        }
    
        /**
         * This method is needed to "align" values used later on for interpolations and path calculations.
         * We enforce "canonical" paths, so IF key and canonical path value disagree, let override it.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  6. cmd/server-main.go

    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    	//    of the object layer.
    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    	// One of these retriable errors shall be retried.
    	return errors.Is(err, errDiskNotFound) ||
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  7. cmd/erasure-decode_test.go

    // explicitly after commenting out t.Skip()
    func TestErasureDecodeRandomOffsetLength(t *testing.T) {
    	if testing.Short() {
    		t.Skip()
    	}
    	// Initialize environment needed for the test.
    	dataBlocks := 7
    	parityBlocks := 7
    	blockSize := int64(1 * humanize.MiByte)
    	setup, err := newErasureTestSetup(t, dataBlocks, parityBlocks, blockSize)
    	if err != nil {
    		t.Error(err)
    		return
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(newFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test edge case with minimum buffer size")
        void testMinimumBufferSize() {
            byte[] buffer = new byte[24]; // Exact size needed
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should return correct number of bytes consumed from buffer")
            void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException {
                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putInt(8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/projects/lifecycle-executor/project-with-inheritance/pom.xml

                  <execution>
                    <goals>
                      <goal>manifest</goal>
                    </goals>
                  </execution>
                </executions>
              </plugin>
              <!-- Needed for including the manifest, see MJAR-71 -->
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.1</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top