Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2851 - 2860 of 4,619 for _new (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        private Integer overrideTimeout;
    
        /**
         * Creates a new SMB message with default command.
         *
         * @param config the configuration to use
         */
        protected ServerMessageBlock(final Configuration config) {
            this(config, (byte) 0);
        }
    
        /**
         * Creates a new SMB message with the specified command.
         *
         * @param config the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Functions.java

       * {@code (Function<K, V> & Serializable) map::get}.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Function<K, V> forMap(
          Map<K, V> map) {
        return new FunctionForMapNoDefault<>(map);
      }
    
      /**
       * Returns a function which performs a map lookup with a default value. The function created by
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Mock the OEM encoding for non-Unicode tests
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
            fileBothDirectoryInfo = new FileBothDirectoryInfo(mockConfig, true);
            fileBothDirectoryInfoNonUnicode = new FileBothDirectoryInfo(mockConfig, false);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        SortedMapTestSuiteBuilder<K, V> result = new SortedMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        private int leaseState;
        private int leaseFlags;
    
        /**
         * Create a new lease V1 context request
         */
        public LeaseV1CreateContextRequest() {
            this.leaseKey = new Smb2LeaseKey();
            this.leaseState = 0;
            this.leaseFlags = 0;
        }
    
        /**
         * Create a new lease V1 context request with specified parameters
         *
         * @param leaseKey the lease key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TablesTest.java

            immutableCell(null, null, null);
        assertEquals("(null,null)=null", nullEntry.toString());
      }
    
      public void testEntryEquals() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    
        new EqualsTester()
            .addEqualityGroup(entry, immutableCell("foo", 1, 'a'))
            .addEqualityGroup(immutableCell("bar", 1, 'a'))
            .addEqualityGroup(immutableCell("foo", 2, 'a'))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final RuntimeWrapper runtime;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

            final int start = bufferIndex;
            SmbShareInfo e;
    
            useUnicode = false;
    
            results = new SmbShareInfo[numEntries];
            for (int i = 0; i < numEntries; i++) {
                results[i] = e = new SmbShareInfo();
                e.netName = readString(buffer, bufferIndex, 13, false);
                bufferIndex += 14;
                e.type = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
            MavenProject project0 = getProjectWithDependencies(pom0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top