Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 612 for calcs (7.28 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

        }
    
        /**
         * Validates that a given file is safe and does not attempt path traversal attacks.
         * <p>
         * This is a convenience method that converts File objects to Path and calls
         * {@link #isPathSafe(Path, Path)}.
         * </p>
         *
         * @param fileToCheck the file to validate (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

                throw new ServletException("Failed to initialize CIFS context");
            }
        }
    
        @Override
        public void destroy() {
        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         * is because this method is used to determine applicable methods for
         * an actual parameter list, and primitive types are represented by
         * their object duals in reflective method calls.
         *
         * @param formal the formal parameter type to which the actual
         *               parameter type should be convertible
         * @param actual the actual parameter type.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

        public void benchmarkOriginalHelper() throws Exception {
            RealisticTestBean bean = new RealisticTestBean();
    
            // Set multiple properties to simulate real mojo configuration
            // Use direct method calls instead of reflection for fair comparison
            PlexusConfiguration nameConfig = new XmlPlexusConfiguration("name");
            nameConfig.setValue("testValue");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long expectedFree = (long) free * sectPerAlloc * bytesPerSect;
            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test multiple decode calls on same instance")
        void testMultipleDecodeCalls() throws SMBProtocolDecodingException {
            // First decode
            byte[] buffer1 = new byte[22];
            int offset = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    						// Any failed rename calls un-roll previous transaction.
    						s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    
    						return res, osErrToFileErr(err)
    					}
    				}
    			}
    		}
    	}
    
    	// Set skipParent to skip mkdirAll() calls for deeply nested objects
    	// - if its an overwrite
    	// - if its a versioned object
    	//
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Set fail counts (addr1 has more failures, addr2 has fewer)
            pool.failCounts.put("10.0.0.1", 5);
            pool.failCounts.put("10.0.0.2", 1);
    
            // Create spy to intercept calls
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
            // Mock transports
            SmbTransportImpl trans1 = mock(SmbTransportImpl.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        }
    
        @Test
        void readBodyWireFormat_shouldCallReadResourceRecordWireFormat() throws NoSuchFieldException, IllegalAccessException {
            // This method directly calls a superclass method (readResourceRecordWireFormat).
            // We need to setup fields to avoid NPE when parsing
    
            // Set recordName for parsing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertSame(response, out);
            verify(treeConnection).send(resourceLoc, request, response, params);
        }
    
        @Test
        @DisplayName("close calls release and decrements usage; double release throws")
        void closeAndReleaseBehavior() {
            // Validates usage counting and that an extra release() throws RuntimeCIFSException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a
     * different "source Future" for {@link AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    @NullUnmarked
    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top