Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 431 for countIn (0.23 sec)

  1. 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)
  2. src/main/resources/fess_config.properties

    indexer.unprocessed.document.size=1000
    # Whether to enable click count tracking in the indexer.
    indexer.click.count.enabled=true
    # Whether to enable favorite count tracking in the indexer.
    indexer.favorite.count.enabled=true
    # Commit margin time (ms) for webfs in the indexer.
    indexer.webfs.commit.margin.time=5000
    # Maximum number of empty lists for webfs in the indexer.
    indexer.webfs.max.empty.list.count=3600
    # Update interval (ms) for webfs in the indexer.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    : this.transportContext.getConfig().getWinsServers()[this.nbnsIndex];
        }
    
        static class Sem {
    
            Sem(final int count) {
                this.count = count;
            }
    
            int count;
        }
    
        static class QueryThread extends Thread {
    
            private final Sem sem;
            private final String host, scope;
            private final int type;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                byte[] buf = BufferCache.getBuffer();
                BufferCache.releaseBuffer(buf);
            }
    
            // 3. Atomic Operations Test
            AtomicLong counter = new AtomicLong(0);
            for (int i = 0; i < 1000; i++) {
                counter.addAndGet(1024);
            }
    
            long end = System.nanoTime();
            double totalTimeMs = (end - start) / 1_000_000.0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/BufferCache.java

        private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue =
                new java.util.concurrent.ConcurrentLinkedQueue<>();
    
        // Track queue size with atomic counter for efficiency
        private static final java.util.concurrent.atomic.AtomicInteger queueSize = new java.util.concurrent.atomic.AtomicInteger(0);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                fileCache.put(path, new WeakReference<>(file));
            }
        }
    
        /**
         * Evict oldest leases based on LRU
         *
         * @param count number of leases to evict
         */
        private void evictOldestLeases(int count) {
            if (count <= 0 || leases.isEmpty()) {
                return;
            }
    
            // Find oldest leases by last access time
            leases.entrySet()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        }
        var count = 0
        while (!data.exhausted()) {
          assertFailsWith<ProtocolException> {
            clientReader.processNextFrame()
          }.also { expected ->
            assertThat(expected.message!!)
              .matches(Regex("Code \\d+ is reserved and may not be used."))
          }
          count++
        }
        assertThat(count).isEqualTo(1988)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. tests/associations_belongs_to_test.go

    	var companies []Company
    	if DB.Model(&users).Association("Company").Find(&companies); len(companies) != 3 {
    		t.Errorf("companies count should be %v, but got %v", 3, len(companies))
    	}
    
    	var managers []User
    	if DB.Model(&users).Association("Manager").Find(&managers); len(managers) != 2 {
    		t.Errorf("managers count should be %v, but got %v", 2, len(managers))
    	}
    
    	// Append
    	DB.Model(&users).Association("Company").Append(
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                        java.util.function.BiFunction<org.opensearch.action.update.UpdateRequestBuilder, org.opensearch.search.SearchHit, org.opensearch.action.update.UpdateRequestBuilder> processor) {
                    // Return a fixed count for testing
                    return 3L;
                }
            };
            ComponentUtil.register(mockSearchEngineClient, "searchEngineClient");
    
            // Mock FessConfig
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

                return true;
            }
            return false;
        }
    
        /**
         * Get the number of active registrations
         *
         * @return the registration count
         */
        public int getRegistrationCount() {
            return registrations.size();
        }
    
        /**
         * Check if a registration exists
         *
         * @param registrationId the registration ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top