Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 924 for calc (0.2 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

    internal class DerWriter(
      sink: BufferedSink,
    ) {
      /** A stack of buffers that will be concatenated once we know the length of each. */
      private val stack = mutableListOf(sink)
    
      /** Type hints scoped to the call stack, manipulated with [pushTypeHint] and [popTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        @DisplayName("ensureTreeConnected caches tree and acquires on each call")
        void testEnsureTreeConnectedCaching() throws CIFSException {
            // Arrange: first ensureTreeConnected comes from pipe
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree); // method returns itself per implementation
    
            // Act: call twice
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        return incidentEdges();
      }
    
      @Override
      public Set<E> outEdges() {
        return incidentEdges();
      }
    
      @Override
      public N adjacentNode(E edge) {
        // We're relying on callers to call this method only with an edge that's in the graph.
        return requireNonNull(incidentEdgeMap.get(edge));
      }
    
      @Override
      public @Nullable N removeInEdge(E edge, boolean isSelfLoop) {
        if (!isSelfLoop) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbWatchHandle.java

         */
        List<FileNotifyInformation> watch() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        }
    
        @Test
        void encode_shouldCallEncNdrLongWithCorrectValue() throws NdrException {
            int testValue = 98765;
            NdrLong ndrLong = new NdrLong(testValue);
    
            // Call the encode method
            ndrLong.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_long was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            // First call without SAStruts.method
            mockRequest.setQueryString("query=test");
            assertEquals(customPath, webApiRequest.getServletPath());
    
            // Second call with SAStruts.method
            mockRequest.setQueryString("SAStruts.method=execute");
            assertEquals(originalPath, webApiRequest.getServletPath());
    
            // Third call without SAStruts.method again
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      public void testTryAcquireTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a release() call at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive tryAcquire() call.
         */
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS);
        repeatedlyInterruptTestThread(20, tearDownStack);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
        // Compute the concurrent call capacity for each address. We won't close a connection if doing
        // so would violate a policy, unless it's OLD.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        /**
         * Only call this method while holding a tree handle
         *
         * @return the connected tree type
         */
        public int getTreeType() {
            try (SmbTreeImpl t = getTree()) {
                return t.getTreeType();
            }
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top