Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 1,310 for directed (0.07 seconds)

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

         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
         * @param pathToCheck the path to validate (must not be {@literal null})
         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CollectSpliterators.java

        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with an object spliterator output type.
       *
       * <p>To avoid having this type, we could use {@code FlatMapSpliterator} directly. The main
       * advantages to having the type are the ability to use its constructor reference below and the
       * parallelism with the primitive version. In short, it makes its caller ({@code flatMap})
       * simpler.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                    assertEquals(0, buffer[pathStart + i * 2 + 1]);
                }
            }
        }
    
        @Test
        @DisplayName("Should test writeBytesWireFormat directly")
        void testWriteBytesWireFormatDirect() {
            // Given
            byte[] buffer = new byte[512];
            int offset = 100;
    
            // First encode to set headerStart
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        } else {
          sumOfProductsOfDeltas = NaN;
        }
        yStats.add(y);
      }
    
      /**
       * Adds the given statistics to the dataset, as if the individual values used to compute the
       * statistics had been added directly.
       */
      public void addAll(PairedStats values) {
        if (values.count() == 0) {
          return;
        }
    
        xStats.addAll(values.xStats());
        if (yStats.count() == 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(0, Encdec.dec_uint32le(buffer, 0)); // Should encode 0 for null
        }
    
        @Test
        void testToString() {
            ndrBuffer.setIndex(10);
            ndrBuffer.setLength(20); // Set length directly for toString test
            String expected = "start=0,index=10,length=20";
            assertEquals(expected, ndrBuffer.toString());
    
            NdrBuffer offsetBuffer = new NdrBuffer(buffer, 5);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/mvn.cmd

      echo [DEBUG] Parser arguments: "%MAVEN_HOME%\bin\JvmConfigParser.java" "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" "%MAVEN_PROJECTBASEDIR%" "%JVM_CONFIG_TEMP%"
    )
    
    rem Run parser with output file as third argument - Java writes directly to file to avoid Windows file locking issues
    "%JAVACMD%" "%MAVEN_HOME%\bin\JvmConfigParser.java" "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" "%MAVEN_PROJECTBASEDIR%" "%JVM_CONFIG_TEMP%"
    set JVM_CONFIG_EXIT=%ERRORLEVEL%
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  7. src/main/java/jcifs/SmbConstants.java

     *
     * @author mbechler
     *
     *
     * <p>This interface is intended for internal use.</p>
     */
    public interface SmbConstants {
    
        /**
         * Default SMB port number for direct TCP transport.
         */
        int DEFAULT_PORT = 445;
    
        /**
         * Default maximum number of outstanding SMB requests.
         */
        int DEFAULT_MAX_MPX_COUNT = 10;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                    methodCache.put(methodKey, cacheEntry);
                }
            }
    
            // Yes, this might just be null.
            return (Method) cacheEntry;
        }
    
        /**
         * Populate the Map of direct hits. These
         * are taken from all the public methods
         * that our class provides.
         */
        private void populateMethodCache() {
            // get all publicly accessible methods
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Suppliers.java

       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
      public static <T extends @Nullable Object> Supplier<T> memoize(Supplier<T> delegate) {
        if (delegate instanceof NonSerializableMemoizingSupplier
            || delegate instanceof MemoizingSupplier) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals("FULLHOST", nbtAddress.getHostName());
            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
            // Test the values set by constructor directly when isDataFromNodeStatus is true
            assertTrue(nbtAddress.isGroupAddress(mockContext));
            assertEquals(NbtAddress.B_NODE, nbtAddress.getNodeType(mockContext));
            assertTrue(nbtAddress.isBeingDeleted(mockContext));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
Back to Top