Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for doFile (0.98 sec)

  1. src/test/java/jcifs/http/NetworkExplorerTest.java

            NetworkExplorer spyExplorer = spy(networkExplorer);
            doNothing().when(spyExplorer).doFile(any(), any(), any());
    
            // Call the method
            spyExplorer.doFile(request, response, smbFile);
    
            // Verify the method was called
            verify(spyExplorer).doFile(eq(request), eq(response), eq(smbFile));
        }
    
        /**
         * Test doDirectory method directly - simplified test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

         * @param req the HTTP servlet request
         * @param resp the HTTP servlet response
         * @param file the SMB file to download
         * @throws IOException if an I/O error occurs
         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
            String url, type;
            int n;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

         * @param req the HTTP servlet request
         * @param resp the HTTP servlet response
         * @param file the SMB file to download
         * @throws IOException if an I/O error occurs
         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
    
            @SuppressWarnings("resource")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

      }
    
      static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES;
      static final ImmutableSet<Double> FRACTIONAL_DOUBLE_CANDIDATES;
      static final Iterable<Double> INFINITIES =
          Doubles.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY);
      static final Iterable<Double> FINITE_DOUBLE_CANDIDATES;
      static final Iterable<Double> POSITIVE_FINITE_DOUBLE_CANDIDATES;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         */
        public double getAverageReadLatencyMicros() {
            long reads = rdmaReads.get();
            if (reads == 0) {
                return 0.0;
            }
            return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate average write latency in microseconds
         *
         * @return average write latency
         */
        public double getAverageWriteLatencyMicros() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double expectedReportedFpp = (double) knownNumberOfFalsePositives / numInsertions;
        double actualReportedFpp = bf.expectedFpp();
        assertThat(actualReportedFpp).isWithin(0.00033).of(expectedReportedFpp);
      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LinearTransformation.java

        final double slope;
        final double yIntercept;
    
        @LazyInit @Nullable LinearTransformation inverse;
    
        RegularLinearTransformation(double slope, double yIntercept) {
          this.slope = slope;
          this.yIntercept = yIntercept;
          this.inverse = null; // to be lazily initialized
        }
    
        RegularLinearTransformation(double slope, double yIntercept, LinearTransformation inverse) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithValidEntry() throws IOException {
            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100 TESTHOST\n");
                writer.write("10.0.0.1      SERVER01\n");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double expectedReportedFpp = (double) knownNumberOfFalsePositives / numInsertions;
        double actualReportedFpp = bf.expectedFpp();
        assertThat(actualReportedFpp).isWithin(0.00033).of(expectedReportedFpp);
      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top