Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 429 for ResNet (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
      public void testThreshold_resetOnFinalize() throws Exception {
        testThreshold(0, 100, true, true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            // Reset error and test hasMore flag
            response.setTestErrorCode(0);
            response.hasMore = false;
            assertFalse(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test reset functionality")
        void testReset() {
            // Reset should not throw exception
            assertDoesNotThrow(() -> response.reset());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication_test.go

    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    	{ // 4. existing object replication enabled, versioning enabled; no reset in progress
    		name: "existing object replication enabled, versioning enabled; no reset in progress",
    		info: ObjectInfo{
    			Size:              100,
    			ReplicationStatus: replication.Completed,
    			VersionID:         "a3348c34-c352-4498-82f0-1098e8b34df9",
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test reset functionality")
        void testReset() {
            // Reset should not throw exception
            assertDoesNotThrow(() -> transaction.reset());
    
            // Transaction should be ready for reuse
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test reset with key and lastName")
        void testResetWithKeyAndLastName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen_test.go

    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate")
    	}
    
    	vn := allTierStats{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeallTierStats(b *testing.B) {
    	v := allTierStats{}
    	var buf bytes.Buffer
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen_test.go

    		t.Log("WARNING: TestEncodeDecodeBatchJobReplicateCredentials Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobReplicateCredentials{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeBatchJobReplicateCredentials(b *testing.B) {
    	v := BatchJobReplicateCredentials{}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashingInputStream.java

      @Override
      public void mark(int readlimit) {}
    
      /**
       * reset() is not supported for HashingInputStream.
       *
       * @throws IOException this operation is not supported
       */
      @Override
      public void reset() throws IOException {
        throw new IOException("reset not supported");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertTrue(statsBefore.get(EventType.FILE_ACCESS) > 0, "Should have file access events before reset");
    
            logger.resetStatistics();
    
            Map<EventType, Long> statsAfter = logger.getStatistics();
            // After reset, all counters should be 0
            for (Long count : statsAfter.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            doNothing().when(response).setSessionId(999L);
            response.setSessionId(999L);
            verify(response).setSessionId(999L);
    
            // Test reset method
            doNothing().when(response).reset();
            response.reset();
            verify(response).reset();
        }
    
        @Test
        @DisplayName("Test concrete implementation with multiple scenarios")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top