Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,653 for length (0.11 sec)

  1. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

        Iterator<String> iterator =
            new UnmodifiableIterator<String>() {
              int i;
    
              @Override
              public boolean hasNext() {
                return i < array.length;
              }
    
              @Override
              public String next() {
                if (!hasNext()) {
                  throw new NoSuchElementException();
                }
                return array[i++];
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

            super(policyHandle,
                    new LsarSidArrayX(sids),
                    new lsarpc.LsarRefDomainList(),
                    new lsarpc.LsarTransNameArray(),
                    (short)1,
                    sids.length);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                        final String[] values = StringUtils.split(s, "=", 2);
                        if (values.length == 2) {
                            mimetypeMap.put(values[0], values[1]);
                        }
                    }));
            if (logger.isDebugEnabled()) {
                logger.debug("loaded filetype: {}", mimetypeMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcException.java

         * 
         */
        private static final long serialVersionUID = -6113895861333916945L;
    
    
        static String getMessageByDcerpcError ( int errcode ) {
            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while ( max >= min ) {
                int mid = ( min + max ) / 2;
    
                if ( errcode > DCERPC_FAULT_CODES[ mid ] ) {
                    min = mid + 1;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/lib/lib-grid.libsonnet

          function(p)
            local sanePanel = panelUtil.sanitizePanel(p);
            (
              if p.type == 'row'
              then sanePanel + {
                panels: sanitizePanels(sanePanel.panels, std.length(sanePanel.panels)),
              }
              else sanePanel + {
                gridPos+: {
                  h: panelHeight,
                  w: std.floor(gridWidth/row),
                },
              }
            ),
          ps
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
        long len2 = file2.length();
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return File.createTempFile("test", null, getTempDir());
      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
      static byte[] newPreFilledByteArray(int size) {
        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        extends AbstractTableReadTest<C> {
    
      protected void populate(Table<String, Integer, C> table, @Nullable Object... data) {
        checkArgument(data.length % 3 == 0);
        for (int i = 0; i < data.length; i += 3) {
          table.put(
              (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2]));
        }
      }
    
      protected boolean supportsRemove() {
        return true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
                if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
                    return new String[] { values[0], StringUtil.EMPTY };
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. cmd/api-headers_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top