Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 748 for iocount (0.04 seconds)

  1. src/bytes/bytes_test.go

    		buf[n-1] = 'x'
    		for i := 0; i < b.N; i++ {
    			j := Count(buf, buf[n-7:])
    			if j != 1 {
    				b.Fatal("bad count", j)
    			}
    		}
    		buf[n-1] = '\x00'
    	})
    }
    
    func BenchmarkCountEasy(b *testing.B) {
    	benchBytes(b, indexSizes, func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		buf[n-1] = 'x'
    		buf[n-7] = 'x'
    		for i := 0; i < b.N; i++ {
    			j := Count(buf, buf[n-7:])
    			if j != 1 {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"3", "30", "300"})
      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testDataHandlingWithVariousSizes() {
            // Test with small data count
            response.setDataCount(10);
            assertEquals(10, response.getDataCount());
    
            // Test with large data count
            response.setDataCount(65535);
            assertEquals(65535, response.getDataCount());
    
            // Test with zero data count
            response.setDataCount(0);
            assertEquals(0, response.getDataCount());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (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 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
            sb.append(str);
            final int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertDoesNotThrow(() -> request.setOffset(1024L));
                assertDoesNotThrow(() -> request.setOffset(Long.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set minimum count correctly")
            void testSetMinimumCount() {
                assertDoesNotThrow(() -> request.setMinimumCount(0));
                assertDoesNotThrow(() -> request.setMinimumCount(512));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                        }
                        filteredContexts[count++] = ctx;
                    }
                }
    
                if (count > 0) {
                    CreateContextRequest[] newContexts = new CreateContextRequest[count];
                    System.arraycopy(filteredContexts, 0, newContexts, 0, count);
                    this.createContexts = newContexts;
                } else {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  8. code_of_conduct.md

    when an individual is representing the project or its community. Examples of
    representing a project or community include using an official project e-mail
    address, posting via an official social media account, or acting as an appointed
    representative at an online or offline event. Representation of a project may be
    further defined and clarified by project maintainers.
    
    ## Enforcement
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 18:38:58 GMT 2020
    - 3.5K bytes
    - Click Count (0)
  9. cmd/bucket-object-lock.go

    	if ret.Mode.Valid() {
    		switch ret.Mode {
    		case objectlock.RetCompliance:
    			// In compliance mode, a protected object version can't be overwritten
    			// or deleted by any user, including the root user in your AWS account.
    			// When an object is locked in compliance mode, its retention mode can't
    			// be changed, and its retention period can't be shortened. Compliance mode
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        }
    
        /**
         * Updates the heartbeat timestamp to current time and resets failure count.
         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
         * Increments the heartbeat failure count.
         */
        public void incrementHeartbeatFailures() {
            this.heartbeatFailures++;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top