Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 193 for OP (0.01 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

                assertTrue(ex.getMessage().contains("Context disposal failed"));
            }
    
            @Test
            @DisplayName("dispose with null context is no-op")
            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
                assertDoesNotThrow(() -> ctx.dispose());
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

                    }
                    throw new ClassCastException("Cannot unwrap to " + type.getName());
                }
    
                @Override
                public void close() {
                    // no-op for test
                }
            }
            assertThrows(ClassCastException.class, () -> transport.unwrap(OtherTransport.class));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        cleanUp();
      }
    
      /**
       * Repeatedly dequeues references from the queue and invokes {@link
       * FinalizableReference#finalizeReferent()} on them until the queue is empty. This method is a
       * no-op if the background thread was created successfully.
       */
      void cleanUp() {
        if (threadStarted) {
          return;
        }
    
        Reference<?> reference;
        while ((reference = queue.poll()) != null) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
        if (needsAllocArrays()) {
          allocArrays();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertThrows(IllegalArgumentException.class, () -> sub.put(Range.open(9, 12), 5));
    
        RangeMap<Integer, Integer> subSub = sub.subRangeMap(Range.closedOpen(5, 5));
        subSub.put(Range.closedOpen(5, 5), 6); // should be a no-op
        assertEquals(
            ImmutableMap.of(
                Range.open(3, 7),
                1,
                Range.closed(7, 9),
                4,
                Range.openClosed(9, 10),
                2,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            new AbstractService() {
              @Override
              protected void doStart() {
                notifyFailed(new IllegalStateException("start failure"));
                notifyStopped(); // This will be a no-op.
              }
    
              @Override
              protected void doStop() {
                notifyStopped();
              }
            };
        ServiceManager manager = new ServiceManager(asList(a));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun settings(
              clearPrevious: Boolean,
              settings: Settings,
            ) {
              // no-op
            }
          },
        )
      }
    
      @Test fun readSettingsFrameNegativeWindowSize() {
        writeMedium(frame, 6) // 2 for the code and 4 for the value
        frame.writeByte(Http2.TYPE_SETTINGS)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                final int threadId = t;
                executor.submit(() -> {
                    try {
                        for (int i = 0; i < opsPerThread; i++) {
                            byte[] data = String.format("Thread%d-Op%d", threadId, i).getBytes();
                            byte[] encrypted = context.encryptMessage(data, threadId * 100L + i);
                            byte[] decrypted = context.decryptMessage(encrypted);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                try {
                    digest.sign(data, 0, data.length, request, response);
                    // If no exception is thrown, the operation should have been no-op or handled gracefully
                    assertTrue(true, "Sign operation after close should either throw exception or handle gracefully");
                } catch (RuntimeException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         */
        InputStream openInputStream() throws CIFSException;
    
        /**
         * Close/release the file
         *
         * This releases all resources that this file holds. If not using strict mode this is currently a no-op.
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close();
    
        /**
         * Fetch all children
         *
         * @return an iterator over the child resources
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top