Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 713 for wrappy (0.03 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Then: Should return server key
            assertArrayEquals(expectedKey, key, "Should return correct server key");
            verify(internal).ensureConnected();
        }
    
        @Test
        @DisplayName("Should wrap IOException in SmbException for getChallenge")
        void testGetChallengeIOException() throws Exception {
            // Given: Transport that throws IOException
            SmbTransportPoolImpl poolSpy = spy(pool);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    	if o.isSorted() {
    		t.Fatal("Expected unsorted objects")
    	}
    
    	sorted := o.sort()
    	if !o.isSorted() {
    		t.Fatal("Expected sorted o objects")
    	}
    	if !sorted.entries().isSorted() {
    		t.Fatal("Expected sorted wrapped objects")
    	}
    	want := loadMetacacheSampleNames
    	for i, got := range o {
    		if got.name != want[i] {
    			t.Errorf("entry %d, want %q, got %q", i, want[i], got.name)
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         */
        boolean isAllowNTLMFallback();
    
        /**
         * Property {@code jcifs.smb.useRawNTLM} (boolean, default false)
         *
         * @return whether to use raw NTLMSSP tokens instead of SPNEGO wrapped ones
         * @since 2.1
         */
        boolean isUseRawNTLM();
    
        /**
         *
         * Property {@code jcifs.smb.client.disablePlainTextPasswords} (boolean, default true)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    	if fi.Deleted {
    		return fi.ReplicationState.CompositeReplicationStatus()
    	}
    	return replication.StatusType("")
    }
    
    // GetInternalReplicationState is a wrapper method to fetch internal replication state from the map m
    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    
    /**
     * Tests for SmbRandomAccessFile covering happy paths, edge cases, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

        byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes();
        byte[] combined = new byte[md5Hash.length + murmur3Hash.length];
        ByteBuffer buffer = ByteBuffer.wrap(combined);
        buffer.put(md5Hash);
        buffer.put(murmur3Hash);
        HashCode expected = HashCode.fromBytes(combined);
    
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  7. cmd/erasure-object.go

    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    		return fi, onlineMeta, onlineDisks, toObjectErr(ctx.Err(), bucket, object)
    	}
    
    	return fi, onlineMeta, onlineDisks, nil
    }
    
    // getObjectInfo - wrapper for reading object metadata and constructs ObjectInfo.
    func (er erasureObjects) getObjectInfo(ctx context.Context, bucket, object string, opts ObjectOptions) (objInfo ObjectInfo, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
       * This may optionally wrap the contents in a tag.
       */
      fun usingTypeHint(chooser: (Any?) -> DerAdapter<*>?): DerAdapter<Any?> {
        return object : DerAdapter<Any?> {
          override fun matches(header: DerHeader): Boolean = true
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      val listener = RecordingEventListener()
      var client =
        clientTestRule
          .newClientBuilder()
          .dns { throw UnknownHostException() }
          .dispatcher(dispatcher)
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
    
      @BeforeEach
      fun setUp() {
        dispatcher.maxRequests = 20
        dispatcher.maxRequestsPerHost = 10
        listener.forbidLock(dispatcher)
      }
    
      @Test
      fun maxRequestsZero() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    /** Benchmarks for {@link ExecutionList}. */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    @NullUnmarked
    public class ExecutionListBenchmark {
      private static final int NUM_THREADS = 10; // make a param?
    
      // simple interface to wrap our two implementations.
      interface ExecutionListWrapper {
        void add(Runnable runnable, Executor executor);
    
        void execute();
    
        /** Returns the underlying implementation, useful for the Footprint benchmark. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top