Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for pfxload (0.35 sec)

  1. src/internal/coverage/slicewriter/slicewriter.go

    // get a pointer to the constructed byte slice.
    type WriteSeeker struct {
    	payload []byte
    	off     int64
    }
    
    func (sws *WriteSeeker) Write(p []byte) (n int, err error) {
    	amt := len(p)
    	towrite := sws.payload[sws.off:]
    	if len(towrite) < amt {
    		sws.payload = append(sws.payload, make([]byte, amt-len(towrite))...)
    		towrite = sws.payload[sws.off:]
    	}
    	copy(towrite, p)
    	sws.off += int64(amt)
    	return amt, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:26 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/http/extended-allow-full-rule-out.yaml

                            path:
                            - key: payload
                            - key: iss
                            value:
                              stringMatch:
                                exact: requestPrincipals
                        - metadata:
                            filter: envoy.filters.http.jwt_authn
                            path:
                            - key: payload
                            - key: sub
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    	return m.RegisterSingleHandler(h.id, func(payload []byte) ([]byte, *RemoteErr) {
    		req := h.NewRequest()
    		_, err := req.UnmarshalMsg(payload)
    		if err != nil {
    			PutByteBuffer(payload)
    			r := RemoteErr(err.Error())
    			return nil, &r
    		}
    		resp, rerr := handle(req)
    		h.recycleReq(req)
    
    		if rerr != nil {
    			PutByteBuffer(payload)
    			return nil, rerr
    		}
    		payload, err = resp.MarshalMsg(payload[:0])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. tests/update_many2many_test.go

    	}
    
    	var user3 User
    	DB.Preload("Languages").Preload("Friends").Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user2, user3)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    	DB.Preload("Languages").Preload("Friends").Find(&user4, "id = ?", user.ID)
    	CheckUser(t, user4, user)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/FileLockPacketPayloadTest.groovy

            payload.lockId == 42
            payload.type == type
    
            where:
            type << FileLockPacketType.values()
        }
    
        def "decodes payloads with unknown types that might be added in the future"() {
            when:
            def payload = FileLockPacketPayload.decode([1, 0, 0, 0, 0, 0, 0, 0, 42, FileLockPacketType.values().length] as byte[], 10)
    
            then:
            payload.lockId == 42
            payload.type == UNKNOWN
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/ChannelMessage.java

    public class ChannelMessage extends InterHubMessage implements Routable {
        private final ChannelIdentifier channel;
        private final Object payload;
    
        public ChannelMessage(ChannelIdentifier channel, Object payload) {
            this.channel = channel;
            this.payload = payload;
        }
    
        @Override
        public Delivery getDelivery() {
            return Delivery.SingleHandler;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy

            then:
            received1.class.classLoader == received2.class.classLoader
            received1.payload.class.classLoader == received2.payload.class.classLoader
            reply1.class == wrapperClass
            reply1.payload.class == payloadClass
            reply2.class == wrapperClass
            reply2.payload.class == payloadClass
        }
    
        void assertNotVisible(Class<?> from, Class<?> to) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    	var sub *subHandlerID
    	if m.Payload == nil {
    		m.Payload = GetByteBuffer()[:0]
    	}
    	h, err := m.UnmarshalMsg(b)
    	if err != nil {
    		return nil, nil, fmt.Errorf("read write: %v", err)
    	}
    	if len(m.Payload) == 0 && m.Flags&FlagPayloadIsZero == 0 {
    		PutByteBuffer(m.Payload)
    		m.Payload = nil
    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 28 19:22:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. pkg/volume/util/atomic_writer_test.go

    		},
    		{
    			name: "payload with absolute path is invalid",
    			payload: map[string]FileProjection{
    				"/dev/null": {},
    			},
    			valid: false,
    		},
    		{
    			name: "payload with reserved path is invalid",
    			payload: map[string]FileProjection{
    				"..sneaky.txt": {},
    			},
    			valid: false,
    		},
    		{
    			name: "payload with doubledot path is invalid",
    			payload: map[string]FileProjection{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml

                            - key: payload
                            - key: iss
                            value:
                              stringMatch:
                                exact: rule[0]-from[0]-requestPrincipal[1]
                        - metadata:
                            filter: envoy.filters.http.jwt_authn
                            path:
                            - key: payload
                            - key: sub
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top