Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 340 for exacto (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // Then
            assertEquals(6, bytesWritten);
            assertEquals(fid, SMBUtil.readInt2(dst, 0));
            // With a digest, the lastWriteTime should be written.
            // We can't verify the exact bytes without a real implementation of writeUTime,
            // but we can check that it's not zero.
            long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL;
            // This is a weak check, but better than nothing.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. internal/hash/checksum_test.go

    	}
    
    	// Assert new checksum matches the content
    	matchError := chksmOut.Matches(myData, 0)
    	if matchError != nil {
    		t.Fatalf("Checksum mismatch on chksmOut: %v", matchError)
    	}
    
    	// Assert they are exactly equal
    	if !chksmOut.Equal(chksm) {
    		t.Fatalf("Checksum mismatch: expected %+v, got %+v", chksm, chksmOut)
    	}
    }
    
    // TestChecksumSerializeDeserializeMultiPart checks AppendTo can be reversed by ChecksumFromBytes
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

        checkNotNull(throwable);
        if (declaredType.isInstance(throwable)) {
          throw declaredType.cast(throwable);
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@code
       * declaredType}. Example usage:
       *
       * <pre>
       * try {
       *   someMethodThatCouldThrowAnything();
       * } catch (IKnowWhatToDoWithThisException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. cmd/config.go

    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{
    		DeletePrefix:       true,
    		DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    	})
    	return err
    }
    
    func readServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) ([]byte, error) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle buffer with exact required size")
            void testExactBufferSize() {
                String path = "\\\\test";
                buffer = new DfsReferralRequestBuffer(path, 5);
    
                int requiredSize = buffer.size();
                byte[] dst = new byte[requiredSize]; // Exact size
    
                int bytesEncoded = buffer.encode(dst, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // Break apart the domain into UTF-8 labels, i.e. foo.bar.com turns into [foo, bar, com].
        val domainLabelsUtf8Bytes = Array(domainLabels.size) { i -> domainLabels[i].encodeUtf8() }
    
        // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com
        // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins.
        var exactMatch: String? = null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
        EnumHashBiMap<Currency, Country> bimap3 = // use exact type
            EnumHashBiMap.create(emptyBimap);
        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            byte[] dst = new byte[2];
            int written = instance.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written, "writeParameterWordsWireFormat should write exactly 2 bytes");
            // SMBUtil.writeInt2 writes the low byte first (little‑endian)
            assertEquals((byte) (TEST_SID & 0xFF), dst[0]);
            assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[1]);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbSessionTest.java

        class InterfaceMethodContractTest {
    
            @Test
            @DisplayName("Should define exactly four public methods")
            void shouldDefineExactlyFourPublicMethods() {
                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                assertEquals(4, methods.length, "SmbSession should define exactly 4 methods");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top