Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 934 for _clone (0.2 seconds)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

          for (inputHeader in headers) {
            val (key, value) = inputHeader.entries.iterator().next()
            result.add(Header(key, value))
          }
          return result
        }
    
      public override fun clone() = Case(seqno, this.wire, headers)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.close();
        }
    
        @Test
        public void testExactThreshold() throws IOException {
            // Writing exactly threshold bytes should stay in memory
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertTrue(cos.isInMemory());
            assertFalse(cos.done);
            cos.close();
        }
    
        @Test
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Wed Nov 12 14:01:04 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         *
         * @return array of new input sequences (defensive copy), or null if no updates are pending
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the array of new input character sequences for update operations.
         *
         * @param newInputs array of new input sequences to set
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

         */
        public CompressionNegotiateContext(final Configuration config, final int[] compressionAlgorithms, final int flags) {
            this.compressionAlgorithms = compressionAlgorithms != null ? compressionAlgorithms.clone() : new int[0];
            this.flags = flags;
        }
    
        /**
         * Default constructor for response parsing.
         */
        public CompressionNegotiateContext() {
            this.compressionAlgorithms = new int[0];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Mock close success for the first call
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
    
            // First close call
            aliasHandle.close();
    
            // Act: Call close again
            aliasHandle.close();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
          return new ScaleAndIndexes(scale, indexes.clone());
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // Simulate successful close
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
    
            // First close call
            handle.close();
    
            // Act
            // Second close call
            handle.close();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. internal/dsync/drwmutex_test.go

    		var activity int32
    		cdone := make(chan bool)
    		go writer(resource, numIterations, &activity, cdone)
    		var i int
    		for i = 0; i < numReaders/2; i++ {
    			go reader(resource, numIterations, &activity, cdone)
    		}
    		go writer(resource, numIterations, &activity, cdone)
    		for ; i < numReaders; i++ {
    			go reader(resource, numIterations, &activity, cdone)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            protected Credentials getDefaultCredentials() {
                return defaultCreds;
            }
    
            @Override
            public boolean close() throws CIFSException {
                closeCalled = true;
                // Call super.close() to ensure the shutdown hook is removed
                return super.close();
            }
    
            public boolean isCloseCalled() {
                return closeCalled;
            }
    
            @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var receivedCloseCode = -1
    
      /** The close reason from the peer, or null if this web socket has not yet read a close frame. */
      private var receivedCloseReason: String? = null
    
      /** True if this web socket failed and the listener has been notified. */
      private var failed = false
    
      /** Total number of pings sent by this web socket. */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top