Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2701 - 2710 of 6,076 for new1 (0.18 seconds)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache
            when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
    
            // Create the name service client with mock context
            nameServiceClient = new NameServiceClientImpl(mockContext);
        }
    
        @Test
        @DisplayName("Should get local host name")
        void testGetLocalName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        }
    
        @Override public Socket accept() throws IOException {
          try {
            UnixSocketChannel channel = serverSocketChannel.accept();
            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
            SocketException exception = new SocketException();
            exception.initCause(e);
            throw exception;
          }
        }
    
        @Override public void close() throws IOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException {
            return new TcpRdmaConnection(remote, local);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
            RdmaConnection connection = createConnection(remoteAddress, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            this.authorizations = new ArrayList<>();
            Enumeration<?> authElements = authSequence.getObjects();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            MavenProject project = session.getCurrentProject();
    
            new ProjectBuilder(project)
                    .addDependency(
                            "com.mycompany",
                            "system-dependency",
                            "1.0",
                            Artifact.SCOPE_SYSTEM,
                            new File(getBasedir(), "pom.xml").getAbsolutePath());
    
            Set<Artifact> artifactDependencies =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
         *    value (whether it is NaN or infinity).
         * 2. If the new value is finite and the previous mean is non-finite then the mean is unchanged
         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. internal/ringbuffer/ring_buffer.go

    	writeCond *sync.Cond // Signaled when data has been written.
    }
    
    // New returns a new RingBuffer whose buffer has the given size.
    func New(size int) *RingBuffer {
    	return &RingBuffer{
    		buf:  make([]byte, size),
    		size: size,
    	}
    }
    
    // NewBuffer returns a new RingBuffer whose buffer is provided.
    func NewBuffer(b []byte) *RingBuffer {
    	return &RingBuffer{
    		buf:  b,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exception/DataStoreException.java

        /**
         * Creates a new DataStoreException with the specified message and cause.
         *
         * @param message the error message
         * @param cause the underlying cause of this exception
         */
        public DataStoreException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a new DataStoreException with the specified message.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

        public abstract void overriddenAndAnnotatedInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>();
    
        @Override
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
        }
    
        @Subscribe
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/Platform.java

       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
            protected char[] initialValue() {
              return new char[1024];
            }
          };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top