Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 210 for Counter (0.2 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            if (e == null) {
                e = new Entry(this.referent++, obj);
                this.referents.put(obj, e);
            }
    
            return e.referent;
        }
    
        /**
         * Encodes an NDR referent pointer.
         *
         * @param obj the object to encode as a referent
         * @param type the referent type
         */
        public void enc_ndr_referent(final Object obj, final int type) {
            if (obj == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            stats.recordRdmaSend(512, 500000); // 512B in 0.5ms
            stats.recordRdmaReceive(1536, 1500000); // 1.5KB in 1.5ms
            stats.recordError();
    
            // Verify counters
            assertEquals(1, stats.getRdmaReads(), "Should have 1 read operation");
            assertEquals(1, stats.getRdmaWrites(), "Should have 1 write operation");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

        }
    
        private static final Logger logger = LogManager.getLogger(RelatedContentHelper.class);
    
        /**
         * Cache map storing related content configurations organized by virtual host key.
         * The outer map key is the virtual host key, and the value is a pair containing:
         * - First: Map of exact term matches (term -> content)
         * - Second: List of regex pattern matches (Pattern -> content template)
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            long now = System.currentTimeMillis();
            lastFailureTimes.entrySet().removeIf(entry -> now - entry.getValue() > FAILURE_RECOVERY_TIME * 2);
    
            // Clean up old consecutive failure counters
            consecutiveFailures.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                Long lastFailure = lastFailureTimes.get(key);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

      private ExecutionSequencer() {}
    
      /** Creates a new instance. */
      public static ExecutionSequencer create() {
        return new ExecutionSequencer();
      }
    
      /** This reference acts as a pointer tracking the head of a linked list of ListenableFutures. */
      private final AtomicReference<ListenableFuture<@Nullable Void>> ref =
          new AtomicReference<>(immediateVoidFuture());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                    final int structStart = dstIndex;
    
                    SMBUtil.writeInt4(0, dst, structStart); // Next
                    if (lastStart > 0) {
                        // set next pointer of previous CREATE_CONTEXT
                        SMBUtil.writeInt4(structStart - dstIndex, dst, lastStart);
                    }
    
                    dstIndex += 4;
                    final byte[] cnBytes = createContext.getName();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EmptyIteratorTest.java

                            innerCount++;
                        }
                    }
                    assertEquals(0, innerCount, "Inner iteration should not execute");
                }
                assertEquals(0, outerCount, "Outer iteration should not execute");
            }, "EmptyIterator should work correctly in nested iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Prepare test data with minimal valid resource record
            byte[] src = new byte[100];
            int srcIndex = 10;
    
            // Set up a minimal resource record response
            // Name pointer (0xC00C)
            src[srcIndex] = (byte) 0xC0;
            src[srcIndex + 1] = 0x0C;
            // Record type (NBSTAT = 0x0021)
            src[srcIndex + 2] = 0x00;
            src[srcIndex + 3] = 0x21;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0, (int) (short) 0);
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // Null referent pointer
    
                // When: Decoding the unicode string
                unicodeString.decode(mockNdrBuffer);
    
                // Then: Verify the decoding sequence and values
                verify(mockNdrBuffer).align(4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top