Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 139 for holes (0.03 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        static final ContiguousSet<Integer> checkedCreate(SortedSet<Integer> elementsSet) {
          List<Integer> elements = new ArrayList<>(elementsSet);
          /*
           * A ContiguousSet can't have holes. If a test demands a hole, it should be changed so that it
           * doesn't need one, or it should be suppressed for ContiguousSet.
           */
          for (int i = 0; i < elements.size() - 1; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        static final ContiguousSet<Integer> checkedCreate(SortedSet<Integer> elementsSet) {
          List<Integer> elements = new ArrayList<>(elementsSet);
          /*
           * A ContiguousSet can't have holes. If a test demands a hole, it should be changed so that it
           * doesn't need one, or it should be suppressed for ContiguousSet.
           */
          for (int i = 0; i < elements.size() - 1; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. src/archive/tar/common.go

    //		{Offset: 18, Length: 3},  // Data fragment for 18..20
    //	}
    //	var sph sparseHoles = []sparseEntry{
    //		{Offset: 0,  Length: 2},  // Hole fragment for 0..1
    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    // Then the content of the resulting sparse file with a Header.Size of 25 is:
    //
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  4. src/archive/tar/reader.go

    		} else { // In a hole fragment
    			nf = holeEnd - sr.pos
    			if sr.physicalRemaining() == 0 {
    				writeLastByte = true
    				nf--
    			}
    			_, err = ws.Seek(nf, io.SeekCurrent)
    		}
    		sr.pos += nf
    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	// If the last fragment is a hole, then seek to 1-byte before EOF, and
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. src/archive/tar/writer.go

    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are all NULs.
    // This always reads the last byte to ensure r is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final String virtualHostKey;
    
            SearchLogContext(final FessConfig fessConfig, final String[] roles, final String userCode, final String userId,
                    final HttpServletRequest request, final String clientIp, final String virtualHostKey) {
                this.fessConfig = fessConfig;
                this.roles = roles;
                this.userCode = userCode;
                this.userId = userId;
                this.request = request;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            fields.add("field1");
            List<String> tags = new ArrayList<>();
            tags.add("tag1");
            List<String> roles = new ArrayList<>();
            roles.add("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            // Check that we get the same references
            assertTrue(readings == elevateWord.getReadings());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] tags = { "tag2", "tag1" };
            String[] roles = { "role2", "role1" };
            String[] fields = { "field2", "field1" };
            String[] excludes = { "exclude2", "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
    
            assertEquals(result1, result2);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] { "admin", "user", "manager" });
            roles = fessUserBean.getRoles();
            assertEquals(3, roles.length);
            assertEquals("admin", roles[0]);
            assertEquals("user", roles[1]);
            assertEquals("manager", roles[2]);
        }
    
        @Test
        public void test_getGroups() {
            // Test with empty groups
            testUser.setGroupNames(new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(secured);
            String[] roles = secured.value();
            assertEquals(3, roles.length);
            assertEquals("ROLE_USER", roles[0]);
            assertEquals("ROLE_ADMIN", roles[1]);
            assertEquals("ROLE_GUEST", roles[2]);
        }
    
        // Test non-annotated method
        @Test
        public void test_methodWithoutAnnotation() throws NoSuchMethodException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top