Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 1,634 for byteEq (0.05 sec)

  1. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @throws Exception
         */
        public void testObjectAndBinary() throws Exception {
            final String o = "hoge";
            final byte[] binary = SerializeUtil.fromObjectToBinary(o);
            assertEquals(o, SerializeUtil.fromBinaryToObject(binary));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/CredentialsInternal.java

         * @param host
         * @param initialToken
         * @param doSigning
         * @return a new context
         * @throws SmbException
         */
        SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException;
    
    
        /**
         * @return subject associated with the credentials
         */
        Subject getSubject ();
    
    
        /**
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * not terminated.
       *
       * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of
       * the internal list.
       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/TestOutputStream.java

        super(checkNotNull(out));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        throwIf(closed);
        throwIf(WRITE_THROWS);
        super.write(b, off, len);
      }
    
      @Override
      public void write(int b) throws IOException {
        throwIf(closed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
     * `-android` "flavors.")
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                cleanup();
            }
            return inUse;
        }
    
    
        @Override
        public byte[] getChallenge ( CIFSContext tf, Address dc ) throws SmbException {
            return getChallenge(tf, dc, 0);
        }
    
    
        @Override
        public byte[] getChallenge ( CIFSContext tf, Address dc, int port ) throws SmbException {
            try ( SmbTransportInternal trans = tf.getTransportPool()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    			line: sf.line,
    			col:  sf.col,
    			msg:  "invalid batch-job size filter",
    		}
    	}
    	return nil
    }
    
    // BatchJobSize supports humanized byte values in yaml files type BatchJobSize uint64
    type BatchJobSize int64
    
    // UnmarshalYAML to parse humanized byte values
    func (s *BatchJobSize) UnmarshalYAML(unmarshal func(interface{}) error) error {
    	var batchExpireSz string
    	err := unmarshal(&batchExpireSz)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/batch-replicate_test.go

    #
    #    retry:
    #      attempts: 10 # number of retries for the job before giving up
    #      delay: "500ms" # least amount of delay between each retry
    
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. internal/crypto/sse-s3.go

    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    func (sses3) CreateMetadata(metadata map[string]string, keyID string, kmsKey []byte, sealedKey SealedKey) map[string]string {
    	if sealedKey.Algorithm != SealAlgorithm {
    		logger.CriticalIf(context.Background(), Errorf("The seal algorithm '%s' is invalid for SSE-S3", sealedKey.Algorithm))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top