Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 625 for 16 (0.02 sec)

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

      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * {@literal int}の値を16進数の文字列に変換します。
         *
         * @param i
         *            {@literal int}の値
         * @return 16進数の文字列
         */
        public static String toHex(final int i) {
            final StringBuilder buf = new StringBuilder();
            appendHex(buf, i);
            return new String(buf);
        }
    
        /**
         * 文字列に、数値を16進数に変換した文字列を追加します。
         *
         * @param buf
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. internal/kms/secret-key.go

    	if err != nil {
    		return DEK{}, err
    	}
    
    	const randSize = 28
    	random, err := sioutil.Random(randSize)
    	if err != nil {
    		return DEK{}, err
    	}
    	iv, nonce := random[:16], random[16:]
    
    	prf := hmac.New(sha256.New, s.key)
    	prf.Write(iv)
    	key := prf.Sum(make([]byte, 0, prf.Size()))
    
    	block, err := aes.NewCipher(key)
    	if err != nil {
    		return DEK{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/PackageSanityTests.java

          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            results = new ServerInfo1[numEntries];
            for( int i = 0; i < numEntries; i++ ) {
                results[i] = e = new ServerInfo1();
                e.name = readString( buffer, bufferIndex, 16, false );
                bufferIndex += 16;
                e.versionMajor = (int)( buffer[bufferIndex++] & 0xFF );
                e.versionMinor = (int)( buffer[bufferIndex++] & 0xFF );
                e.type = readInt4( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            return dstIndex - start;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            // if SMB 3.11 support negotiateContextOffset/negotiateContextCount
            int negotitateContextOffsetOffset = 0;
            if ( this.negotiateContexts == null || this.negotiateContexts.length == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            format.setTimeZone(MavenBuildTimestamp.DEFAULT_BUILD_TIME_ZONE);
            assertEquals("1976-11-11T00:16:00Z", format.format(firstTestDate));
            assertEquals("1976-11-11T23:16:00Z", format.format(secondTestDate));
        }
    
        @Test
        public void testDefaultBuildTimestampFormatWithLocalTimeZoneMidnightRollover() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top