Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 894 for _count (0.04 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

              count++;
              if (count > maxCount) {
                Assert.fail(
                    "2-bit delta ("
                        + i
                        + ", "
                        + j
                        + ") is likely a "
                        + "characteristic for this hash. This was "
                        + "determined after "
                        + count
                        + " trials");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    	}
    
    	if !locked { // We failed to get the lock
    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    		n.lockMap[resource].ref--
    		if n.lockMap[resource].ref < 0 {
    			logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))
    		}
    		if n.lockMap[resource].ref == 0 {
    			// Remove from the map if there are no more references.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        // Context type
        /** Context ID for RDMA transform capabilities */
        public static final int CONTEXT_ID = Smb2Constants.SMB2_RDMA_TRANSFORM_CAPABILITIES;
    
        // Transform count and reserved fields
        private int transformCount = 1; // Number of transforms (always 1 for SMBDirect)
        private int reserved1 = 0;
        private int reserved2 = 0;
    
        // SMB_DIRECT_RDMA_TRANSFORM_V1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. tests/customize_field_test.go

    	}
    
    	DB.Migrator().DropTable(&CustomizeColumn{})
    	DB.AutoMigrate(&CustomizeColumn{})
    
    	expected := "foo"
    	now := time.Now()
    	cc := CustomizeColumn{ID: 666, Name: expected, Date: &now}
    
    	if count := DB.Create(&cc).RowsAffected; count != 1 {
    		t.Error("There should be one record be affected when create record")
    	}
    
    	var cc1 CustomizeColumn
    	DB.First(&cc1, "mapped_name = ?", "foo")
    
    	if cc1.Name != expected {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

             * we must create an array of objects that do.
             */
            final srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
            final MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

             * we must create an array of objects that do.
             */
            final srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) info;
            final MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

            requireNonNull(thread);
            if (nameFormat != null) {
              // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat.
              thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement()));
            }
            if (daemon != null) {
              thread.setDaemon(daemon);
            }
            if (priority != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

                "Logon failure: account logon time restriction violation.", "Logon failure: user not allowed to log on to this computer.",
                "Logon failure: the specified account password has expired.", "Logon failure: account currently disabled.",
                "No mapping between account names and security IDs was done.", "The security ID structure is invalid.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            rateLimiter.recordFailure(username, ip);
    
            // After 3 failures, account should be locked
            try {
                rateLimiter.checkAttempt(username, ip);
                fail("Should throw SmbException for locked account");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/StatementUtil.java

            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Returns the update count.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @return The update count.
         */
        public static int getUpdateCount(final Statement statement) {
            assertArgumentNotNull("statement", statement);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top