Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 286 for payloadB (0.5 sec)

  1. security/tools/jwt/samples/gen-jwt.py

            fout.close
    
        now = int(time.time())
        payload = {
            # expire in one hour.
            "exp": now + args.expire,
            "iat": now,
        }
        if args.iss:
            payload["iss"] = args.iss
        if args.sub:
            payload["sub"] = args.sub
        else:
            payload["sub"] = args.iss
    
        if args.aud:
            if "," in args.aud:
                payload["aud"] = args.aud.split(",")
            else:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializer.java

            }
        }
    
        public @Nullable Object deserialize(SerializedPayload payload) {
            if (payload.getSerializedModel().isEmpty()) {
                return null;
            }
    
            final DeserializeMap map = classLoaderRegistry.newDeserializeSession();
            try {
                final Map<Short, ClassLoaderDetails> classLoaderDetails = Cast.uncheckedNonnullCast(payload.getHeader());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/exec/BuildTreeLifecycleBuildActionExecutor.java

                BuildModelAction buildModelAction = (BuildModelAction) action;
                Object payload = buildModelAction.getModelName();
                return new QueryModelRequirements(action.getStartParameter(), action.isRunTasks(), payloadHashProvider(payload));
            } else if (action instanceof ClientProvidedBuildAction) {
                SerializedPayload payload = ((ClientProvidedBuildAction) action).getAction();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. internal/grid/connection_test.go

    	errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    	errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("2: server payload: ", len(payload), "bytes.")
    		err := RemoteErr(payload)
    		return nil, &err
    	}))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/ConnectionSetTest.groovy

            messages[0].payload == "payload"
            messages[1] instanceof EndOfStream
         }
    
        def "does not discard queued outgoing messages when stop requested until all connections finished"() {
            def channel = new ChannelIdentifier("channel")
            def message = new ChannelMessage(channel, "payload")
            def sentinel = new ChannelMessage(channel, "payload")
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. pkg/volume/projected/projected_test.go

    				t.Errorf("%v: unexpected failure making payload: %v", tc.name, err)
    				return
    			}
    			if err == nil && !tc.success {
    				t.Errorf("%v: unexpected success making payload", tc.name)
    				return
    			}
    			if !tc.success {
    				return
    			}
    			if e, a := tc.payload, actualPayload; !reflect.DeepEqual(e, a) {
    				t.Errorf("%v: expected and actual payload do not match", tc.name)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    func (c *Connection) sendMsg(conn net.Conn, msg message, payload msgp.MarshalSizer) error {
    	if payload != nil {
    		if sz := payload.Msgsize(); cap(msg.Payload) < sz {
    			PutByteBuffer(msg.Payload)
    			msg.Payload = GetByteBufferCap(sz)[:0]
    		}
    		var err error
    		msg.Payload, err = payload.MarshalMsg(msg.Payload)
    		if err != nil {
    			return err
    		}
    		defer PutByteBuffer(msg.Payload)
    	}
    	dst := GetByteBufferCap(msg.Msgsize())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/model/generator_test.go

                  filter: envoy.filters.http.jwt_authn
                  path:
                  - key: payload
                  - key: iss
                  value:
                    string_match:
                      safe_regex: {regex: .+}
              - metadata:
                  filter: envoy.filters.http.jwt_authn
                  path:
                  - key: payload
                  - key: sub
                  value:
                    string_match:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/io/IoConsumerTest.groovy

            when:
            String actual = null
            wrap({ String payload -> actual = payload }).accept("lajos")
            then:
            actual == "lajos"
        }
    
        @Override
        protected void executeWithException(Throwable exception) {
            wrap({ String payload ->
                assert payload == "lajos"
                throw exception
            }).accept("lajos")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    // from the end of payload. It also returns a byte which is equal to 255 if the
    // padding was valid and 0 otherwise. See RFC 2246, Section 6.2.3.2.
    func extractPadding(payload []byte) (toRemove int, good byte) {
    	if len(payload) < 1 {
    		return 0, 0
    	}
    
    	paddingLen := payload[len(payload)-1]
    	t := uint(len(payload)-1) - uint(paddingLen)
    	// if len(payload) >= (paddingLen - 1) then the MSB of t is zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top