Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for enc (0.05 sec)

  1. docs/debugging/inspect/export.go

    				}
    				versions[idx] = version{
    					Idx:      idx,
    					Header:   b,
    					Metadata: buf.Bytes(),
    				}
    				return nil
    			})
    			if e != nil {
    				return nil, e
    			}
    			enc := json.NewEncoder(buf)
    			if e := enc.Encode(struct {
    				Versions []version
    			}{Versions: versions}); e != nil {
    				return nil, e
    			}
    			data = b
    		default:
    			return nil, fmt.Errorf("unknown metadata version %d", minor)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		{"enc-nothing", []int64{0}, mapCopy(metaWithSSEC)},
    		{"enc-small-0", []int64{11}, mapCopy(metaWithSSEC)},
    		{"enc-small-1", []int64{509}, mapCopy(metaWithSSEC)},
    		{"enc-small-2", []int64{5 * oneMiB}, mapCopy(metaWithSSEC)},
    		// cases 12-15: multipart part objects with encryption
    		{"enc-mp-0", []int64{5 * oneMiB, 10}, mapCopy(metaWithSSEC)},
    		{"enc-mp-1", []int64{5*oneMiB + 1, 10}, mapCopy(metaWithSSEC)},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. internal/grid/types.go

    	if j.val == nil {
    		return msgp.AppendNil(b), nil
    	}
    	buf := bytes.NewBuffer(GetByteBuffer()[:0])
    	defer func() {
    		PutByteBuffer(buf.Bytes())
    	}()
    	enc := json.NewEncoder(buf)
    	err = enc.Encode(j.val)
    	if err != nil {
    		return b, err
    	}
    	return msgp.AppendBytes(b, buf.Bytes()), nil
    }
    
    // UnmarshalMsg will JSON marshal the value and wrap as a msgp byte array.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. internal/logger/target/http/http.go

    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    				}
    			}
    		}
    	}()
    
    	lastBatchProcess := time.Now()
    
    	buf := bytebufferpool.Get()
    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    	defer bytebufferpool.Put(buf)
    
    	isDirQueue := h.config.QueueDir != ""
    
    	// globalBuffer is always created or adjusted
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    	tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    	for {
    		select {
    		case <-ctx.Done():
    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    				peersLogOnceIf(ctx, err, "event: Encode failed")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/bin/mvn

              exit 1
            fi
            MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS"
            ;;
          --enc)
            MAVEN_MAIN_CLASS="org.apache.maven.cling.MavenEncCling"
            ;;
          *)
            ;;
        esac
        shift
      done
    }
    
    handle_args "$@"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

        static final byte[] S8 = {
            (byte) 0x4b, (byte) 0x47, (byte) 0x53, (byte) 0x21, (byte) 0x40, (byte) 0x23, (byte) 0x24, (byte) 0x25
        };
    
    
        /*
         * Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        static void E ( byte[] key, byte[] data, byte[] e ) throws ShortBufferException {
            byte[] key7 = new byte[7];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  8. internal/config/identity/openid/jwks_test.go

    	const jsonkey = `{"keys":
           [
             {"kty":"EC",
              "crv":"P-256",
              "x":"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4",
              "y":"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM",
              "use":"enc",
              "kid":"1"},
    
             {"kty":"RSA",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PACTest.java

                            sname-string: 2 items
                                SNameString: cifs
                                SNameString: fakeserver.w2k19single.springfield
                        enc-part
                            etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
                            kvno: 5
                            cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd…
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top