Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 329 for wrap (0.04 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
                this.fp = 0L;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            // ensure file is open
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
                    return wrap((ListIterator<?>) delegate);
                  }
                });
      }
    
      private static <T> ListIterator<T> wrap(final ListIterator<T> delegate) {
        return new ForwardingListIterator<T>() {
          @Override
          protected ListIterator<T> delegate() {
            return delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                new Function<Collection, Collection>() {
                  @Override
                  public Collection apply(Collection delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      private static <T> Collection<T> wrap(final Collection<T> delegate) {
        return new ForwardingCollection<T>() {
          @Override
          protected Collection<T> delegate() {
            return delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                Queue.class,
                new Function<Queue, Queue>() {
                  @Override
                  public Queue apply(Queue delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      private static <T> Queue<T> wrap(final Queue<T> delegate) {
        return new ForwardingQueue<T>() {
          @Override
          protected Queue<T> delegate() {
            return delegate;
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              .build()
    
          // Need fresh client to reset sslSocketFactoryOrNull
          client =
            OkHttpClient.Builder()
              .eventListenerFactory(
                clientTestRule.wrap(
                  object : EventListener() {
                    override fun connectionAcquired(
                      call: Call,
                      connection: Connection,
                    ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/BaseCIFSTest.java

                super(delegate);
                this.cfg = cfg;
            }
    
    
            @Override
            protected CIFSContext wrap ( CIFSContext newContext ) {
                return new CIFSConfigContextWrapper(super.wrap(newContext), this.cfg);
            }
    
    
            @Override
            public Configuration getConfig () {
                return this.cfg;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
        assertEquals(ASCII.length(), CharStreams.exhaust(buf));
        assertEquals(0, buf.remaining());
        assertEquals(0, CharStreams.exhaust(buf));
    
        CharBuffer empty = CharBuffer.wrap("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(0, empty.remaining());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         * Creates a new container for the specified model.
         *
         * @param model The model to wrap, may be {@code null}.
         */
        ModelData(Source source, Model model) {
            this.source = source;
            this.model = model;
        }
    
        /**
         * Creates a new container for the specified model.
         *
         * @param model The model to wrap, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top