Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,196 for new (0.43 sec)

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

                    Smb2SetInfoRequest req = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                    req.setFileInformation(new FileEndOfFileInformation(newLength));
                    th.send(req, RequestParam.NO_RETRY);
                }
                else if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    th.send(
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            MavenSession mavenSession =
                    new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            legacySupport.setSession(mavenSession);
            InternalSession iSession = new DefaultSession(mavenSession, null, null, null, null, null);
            InternalSession.associate(session, iSession);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        final CyclicBarrier barrier = new CyclicBarrier(2);
        final CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            CIFSContext tc = this.transportContext;
            Name calledName = new Name(tc.getConfig(), this.address.firstCalledName(), 0x20, null);
            do {
                this.socket = new Socket();
                if ( this.localAddr != null )
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (SmbException se) {
            }
        }
    
        static Map sid_cache = new HashMap();
    
        static void resolveSids(DcerpcHandle handle,
                    LsaPolicyHandle policyHandle,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

    public class LittleEndianDataOutputStreamTest extends TestCase {
    
      private ByteArrayOutputStream baos = new ByteArrayOutputStream();
      private LittleEndianDataOutputStream out = new LittleEndianDataOutputStream(baos);
    
      public void testWriteLittleEndian() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ConcurrencyTest.java

            try ( SmbFile sr = getDefaultShareRoot();
                  SmbResource exclFile = new SmbFile(sr, fname) ) {
                ExclusiveLockFirst f = new ExclusiveLockFirst(exclFile);
                ExclusiveLockSecond s = new ExclusiveLockSecond(f, exclFile);
    
                List<MultiTestCase> runnables = new ArrayList<>();
                runnables.add(f);
                runnables.add(s);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

    @ElementTypesAreNonnullByDefault
    public class SetOperationsTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top