content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.831066
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.774499
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.691635
/** * A script for GCC-dehydra to analyze the Mozilla codebase and catch * patterns that are incorrect, but which cannot be detected by a compiler. */ /** * Activate Treehydra outparams analysis if running in Treehydra. */ function treehydra_enabled() { return this.hasOwnProperty('TREE_CODE'); } sys.include_pa...
__label__POS
0.966187
export default { 'app.setting.pagestyle': '整体风格设置', 'app.setting.pagestyle.dark': '暗色菜单风格', 'app.setting.pagestyle.light': '亮色菜单风格', 'app.setting.content-width': '内容区域宽度', 'app.setting.content-width.fixed': '定宽', 'app.setting.content-width.fluid': '流式', 'app.setting.themecolor': '主题色', 'app.setting.them...
__label__POS
0.654629
export default { 'app.setting.pagestyle': '整體風格設置', 'app.setting.pagestyle.dark': '暗色菜單風格', 'app.setting.pagestyle.light': '亮色菜單風格', 'app.setting.content-width': '內容區域寬度', 'app.setting.content-width.fixed': '定寬', 'app.setting.content-width.fluid': '流式', 'app.setting.themecolor': '主題色', 'app.setting.them...
__label__POS
0.660762
export default { 'user-login.login.userName': '賬戶', 'user-login.login.password': '密碼', 'user-login.login.message-invalid-credentials': '賬戶或密碼錯誤(admin/ant.design)', 'user-login.login.message-invalid-verification-code': '驗證碼錯誤', 'user-login.login.tab-login-credentials': '賬戶密碼登錄', 'user-login.login.tab-login-m...
__label__POS
0.623095
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.715223
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.728011
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.875173
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.759969
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.659902
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.621825
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.941455
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.80807
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.809901
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.672953
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.736448
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.747048
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.728954
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.748114
""" This simple code simply find what proportion of males and females survived and make a predictive model based on this """ import csv as csv import numpy as np csv_file_object = csv.reader(open('../data/train.csv', 'rb')) # Load in the csv file header = csv_file_object.next() # Skip the fist line as it is ...
__label__POS
0.815415
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.656267
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
__label__POS
0.707048
package protobuf_go_lite import "testing" type testCase struct { val int } func (t *testCase) EqualVT(ot *testCase) bool { if t == ot { return true } if (ot == nil) != (t == nil) { return false } if ot == nil { return true } return t.val == ot.val } func TestCompareVT(t *testing.T) { t1, t2 := &testC...
__label__POS
0.903005
// Copyright © 2021 The Things Industries B.V. // SPDX-License-Identifier: Apache-2.0 package json import "strings" // FieldMask is the interface for field masks. type FieldMask interface { GetPaths() []string } type path struct { parent *path element string } func newPath(p string) path { i := strings.LastIn...
__label__POS
0.963918
package graph import ( "context" "testing" ) // TestSimpleGraph tests constructing a simple network graph func TestSimpleGraph(t *testing.T) { g := NewGraph() lan1 := AddLAN(g) lan2 := AddLAN(g) ctx := context.Background() addPeer := func() *Peer { p, err := GenerateAddPeer(ctx, g) if err != nil { t.Fa...
__label__POS
0.604643
/* The Great Computer Language Shootout http://shootout.alioth.debian.org/ contributed by Isaac Gouy */ function fannkuch(n) { var check = 0; var perm = Array(n); var perm1 = Array(n); var count = Array(n); var maxPerm = Array(n); var maxFlipsCount = 0; var m = n - 1; for (var i = 0; i <...
__label__POS
0.796624
package webrtc import ( "slices" "github.com/pion/webrtc/v4" ) // ToWebRtcConfiguration converts the WebRtcConfig into a webrtc.Configuration. func (c *WebRtcConfig) ToWebRtcConfiguration() *webrtc.Configuration { conf := &webrtc.Configuration{ ICETransportPolicy: c.GetIceTransportPolicy().ToICETransportPolicy(...
__label__POS
0.787531
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package text // parseNumberValue parses a number from the input and returns a Token object. func (d *Decoder) parseNumberValue() (Token, bool) { in := d.in n...
__label__POS
0.630806
package confparse import ( "strings" "github.com/aperturerobotics/bifrost/peer" "github.com/pkg/errors" ) // ParsePeerID parses the peer ID if it is not empty. func ParsePeerID(peerID string) (peer.ID, error) { if peerID == "" { return "", nil } return peer.IDB58Decode(peerID) } // ParsePeerIDs parses a li...
__label__POS
0.686709
#include "tracker.h" using namespace ATracker; Tracker::Tracker(const KalmanParam& _param) { param = _param; rng = cv::RNG(12345); trackIds = 1; } void Tracker::track(Detections& _detections, const int& w, const int& h, cv::Mat& img) { evolveTracks(); const Detections& detections = manage_groups(_detect...
__label__POS
0.748036
library ieee; use ieee.std_logic_1164.ALL; use ieee.numeric_std.ALL; -- SPDX-FileCopyrightText: © 2013 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- This package name is temporary. I expect it to be added to the -- numeric_std package. package minmax is -- Issues: -- There...
__label__POS
0.932394
---------------------------------------------------------------------------- -- helper_pkg.vhd -- Various Helper Functions -- Version 1.1 -- -- SPDX-FileCopyrightText: © 2014 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- --------------------------------------------------------...
__label__POS
0.965431
---------------------------------------------------------------------------- -- remap_4x4.vhd -- Remap 4x4 Inputs to 4x4 Outputs -- Version 1.1 -- -- SPDX-FileCopyrightText: © 2014 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- --------------------------------------------------...
__label__POS
0.827785
---------------------------------------------------------------------------- -- axihp_writer.vhd -- AXIHP Writer (Async, In Flight) -- Version 1.5 -- -- SPDX-FileCopyrightText: © 2013 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- -----------------------------------------------...
__label__POS
0.683277
---------------------------------------------------------------------------- -- reduce_pkg.vhd -- Logic Vector Reduction and/or/xor -- Version 1.0 -- -- SPDX-FileCopyrightText: © 2013 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- -----------------------------------------------...
__label__POS
0.877483
---------------------------------------------------------------------------- -- axi_lite.vhd -- ZedBoard simple VHDL example -- Version 1.0 -- -- SPDX-FileCopyrightText: © 2013 Herbert Poetzl <herbert@13thfloor.at> -- SPDX-License-Identifier: GPL-2.0-or-later -- ------------------------------------------------------...
__label__POS
0.907225
/* The Great Computer Language Shootout http://shootout.alioth.debian.org/ contributed by Isaac Gouy */ function fannkuch(n) { var check = 0; var perm = Array(n); var perm1 = Array(n); var count = Array(n); var maxPerm = Array(n); var maxFlipsCount = 0; var m = n - 1; for (var i = 0; i <...
__label__POS
0.793794
function testBug504520Harder() { // test 1024 similar cases var vals = [1/0, -1/0, 0, 0/0]; var ops = ["===", "!==", "==", "!=", "<", ">", "<=", ">="]; for each (var x in vals) { for each (var y in vals) { for each (var op in ops) { for each (var z in vals) { ...
__label__POS
0.653816
// Same thing but nested trees, each reconstructing one or more stack frames // (so, several functions with loops, such that the loops end up being // nested though they are not lexically nested) function testSlowArrayPopNestedTrees() { var a = []; for (var i = 0; i < RUNLOOP; i++) a[i] = [0]; ...
__label__POS
0.860183
function spin_loop() { for (let i = 0; i < 10000; i++) ; } function check_timing(label, count) { if (count == -1) { print("TEST-UNEXPECTED-FAIL | TestPerf | " + label); throwError(); } else { print("TEST-PASS | TestPerf | " + label + " = " + count); } } var pm = new PerfMeasurement(PerfMeasurement....
__label__POS
0.655324
var x = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,gc(), 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,gc(), 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,gc(), 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,gc(), 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,gc(), ...
__label__POS
0.799403
/* The Develocity gradle plugin MUST be applied here. */ plugins { id "com.gradle.develocity" version "4.2.1" id "com.gradle.common-custom-user-data-gradle-plugin" version "2.4.0" } ext.isCiServer = System.getenv().containsKey("CI") ext.githubPackageRegistryUser = System.getenv("GH_PACKAGE_REGISTRY_USER")...
__label__POS
0.999325
package org.apereo.cas.logout; import org.springframework.webflow.execution.RequestContext; import java.io.Serializable; import java.util.List; /** * This is {@link SessionTerminationHandler}. * * @author Misagh Moayyed * @since 7.0.0 */ public interface SessionTerminationHandler { /** * Before single l...
__label__POS
0.964353
package org.apereo.cas.logout; import org.apereo.cas.util.NamedObject; import org.springframework.core.Ordered; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; /** * This is {@link LogoutRedirectionStrategy}. * * @author Misagh Moayyed * @since 6.3.0 */ @Functiona...
__label__POS
0.908817
package org.apereo.cas.logout.slo; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.services.RegisteredServiceLogoutType; import org.apereo.cas.services.WebBasedRegisteredService; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.RequiredArgsConstructor; import org.springframe...
__label__POS
0.734218
package org.apereo.cas.logout.slo; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.logout.LogoutRequestStatus; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.services.RegisteredServiceLogoutType; import java.io.Serializable; import java.net.URL; imp...
__label__POS
0.847798
package org.apereo.cas.logout.slo; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.util.NamedObject; import org.apereo.cas.web.HttpMessage; import org.springframework.core.Ordered; import java.util.Collection; /** * This is {@link SingleLogoutServiceMessageHandler} which d...
__label__POS
0.861505
package org.apereo.cas.logout.slo; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.util.NamedObject; import org.springframework.core.Ordered; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpS...
__label__POS
0.906741
package org.apereo.cas; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.principal.Principal; /** * Constants interface to host fields * related to view rendering and validation model. * * @author Misagh Moayyed * @since 4.1 */ public interface CasViewConstants { /*...
__label__POS
0.804184
package org.apereo.cas.web; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.io.Serializable; import java.util.Map; /** * This is {@link BrowserStorage}. * * @author Misagh Moayyed * @since 6.4.0 */ @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS) public interface BrowserStorage extends Serializable ...
__label__POS
0.984624
package org.apereo.cas.util; import org.apereo.cas.util.crypto.DecodableCipher; import org.apereo.cas.util.crypto.EncodableCipher; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.context.ApplicationContext; import java.time.Clock; import java.util.Set;...
__label__POS
0.927649
package org.apereo.cas.util.lock; import lombok.val; import org.jooq.lambda.Unchecked; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.stream.IntStream; import...
__label__POS
0.627809
package org.apereo.cas.util; import io.github.classgraph.ClassGraph; import io.github.classgraph.ClassInfo; import lombok.experimental.UtilityClass; import lombok.val; import java.lang.annotation.Annotation; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Optional; impo...
__label__POS
0.925687
package org.apereo.cas.util; import lombok.experimental.UtilityClass; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.Validate; import java.security.NoSuchAlgorithmException; import jav...
__label__POS
0.981931
package org.apereo.cas.util.cache; import org.apereo.cas.util.NamedObject; import com.google.errorprone.annotations.CanIgnoreReturnValue; import lombok.val; import java.io.Closeable; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Optional; import java.util.funct...
__label__POS
0.886805
package org.apereo.cas.util.serialization; import java.util.Collection; /** * This is {@link ComponentSerializationPlan} that allows modules to register objects and classes * they wish to let the underlying engine serialize explicitly. Most specifically, this is used by * ticket registry backends such as Kryo that...
__label__POS
0.794658
package org.apereo.cas.util.serialization; import lombok.val; import org.springframework.http.MediaType; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Serializable; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; imp...
__label__POS
0.922912
package org.apereo.cas.util.serialization; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.core.Ordered; import java.util.HashMap; import java.util.Map; /** * This is {@link JacksonObjectMapperCustomizer}. * * @author Misagh Moayyed * @since 6.6.0 */ public interface JacksonObjectM...
__label__POS
0.921243
package org.apereo.cas.util.spring; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.springframework.boot.actuate.endpoint.web.EndpointMapping; import org.springframework.core.Ordered; import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.servlet.mvc.method.Req...
__label__POS
0.8639
package org.apereo.cas.util.spring; import lombok.Getter; import lombok.val; import org.springframework.boot.actuate.endpoint.Access; import org.springframework.boot.actuate.endpoint.EndpointFilter; import org.springframework.boot.actuate.endpoint.EndpointId; import org.springframework.boot.actuate.endpoint.Operation;...
__label__POS
0.736192
package org.apereo.cas.util.lock; import lombok.RequiredArgsConstructor; import lombok.val; import org.jooq.lambda.Unchecked; import org.springframework.integration.support.locks.LockRegistry; import java.util.Optional; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; /** * This is {@link D...
__label__POS
0.87031
package org.apereo.cas.util.crypto; import lombok.val; import org.apache.commons.lang3.ArrayUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.HashMap; import java.util.Map; /** * This is {@link DecodableCipher}. * * @author Misagh Moayyed * @since 6.6.0 */ @FunctionalInterface pub...
__label__POS
0.798784
package org.apereo.cas.util.crypto; import jakarta.servlet.http.HttpServletRequest; /** * This is {@link CipherExecutorResolver}. * * @author Misagh Moayyed * @since 7.3.0 */ public interface CipherExecutorResolver { /** * Resolve cipher executor. * * @param request the request * @return...
__label__POS
0.998761
package org.apereo.cas.util.nativex; import org.apereo.cas.util.ReflectionUtils; import com.google.errorprone.annotations.CanIgnoreReturnValue; import lombok.val; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.BooleanUtils; import org.apache.commons.lang3.StringUtils; import org.jooq.lambd...
__label__POS
0.695387
package org.apereo.cas.util.scripting; import org.springframework.core.io.Resource; import java.util.Map; /** * This is {@link ExecutableCompiledScript}. * * @author Misagh Moayyed * @since 6.1.0 */ public interface ExecutableCompiledScript extends AutoCloseable { /** * Execute t. * * @param ...
__label__POS
0.978461
package org.apereo.cas.util.scripting; import org.springframework.core.io.Resource; import java.io.File; import java.net.URLClassLoader; import java.util.Map; import java.util.Optional; import java.util.ServiceLoader; /** * This is {@link ExecutableCompiledScriptFactory}. * * @author Misagh Moayyed * @since 7.1.0...
__label__POS
0.983586
package org.apereo.cas.util.scripting; import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.springframework.beans.factory.DisposableBean; import java.util.Set; /** * This is {@link ScriptResourceCacheManager}. * * @author Misagh Moayyed * @since 6.2.0 */ public interface ScriptResourceCacheM...
__label__POS
0.999368
package org.apereo.cas.audit; import org.apereo.cas.authentication.AuthenticationResult; import org.apereo.cas.ticket.ServiceTicket; import org.apereo.cas.ticket.TicketGrantingTicket; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertion...
__label__POS
0.974793
package org.apereo.cas.audit; /** * This is {@link AuditableActions}. * * @author Misagh Moayyed * @since 6.4.0 */ public interface AuditableActions { /** * Auditable action {@code MULTIFACTOR_AUTHENTICATION_BYPASS}. */ String MULTIFACTOR_AUTHENTICATION_BYPASS = "MULTIFACTOR_AUTHENTICATION_BYPAS...
__label__POS
0.927831
package org.apereo.cas.audit; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.AuthenticationResult; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.ticket.ServiceTicket; import org.apereo.cas.ticke...
__label__POS
0.944052
package org.apereo.cas.audit; /** * This is {@link AuditResourceResolvers}. * * @author Misagh Moayyed * @since 6.4.0 */ public interface AuditResourceResolvers { /** * Resource resolver id {@code SAML2_METADATA_RESOLUTION_RESOURCE_RESOLVER}. */ String SAML2_METADATA_RESOLUTION_RESOURCE_RESOLVER...
__label__POS
0.7753
package org.apereo.cas.audit; import org.apereo.inspektr.audit.AuditActionContext; import org.apereo.inspektr.audit.AuditTrailManager; import java.util.List; import java.util.Map; /** * This is {@link AuditTrailExecutionPlan}. * * @author Misagh Moayyed * @since 5.3.0 */ public interface AuditTrailExecutionPlan...
__label__POS
0.998572
package org.apereo.cas.audit; /** * This is {@link AuditActionResolvers}. * * @author Misagh Moayyed * @since 6.4.0 */ public interface AuditActionResolvers { /** * Action resolver id {@code SAML2_METADATA_RESOLUTION_ACTION_RESOLVER}. */ String SAML2_METADATA_RESOLUTION_ACTION_RESOLVER = "SAML2_...
__label__POS
0.70862
package org.apereo.cas.audit; import org.apereo.inspektr.audit.spi.AuditActionResolver; import org.apereo.inspektr.audit.spi.AuditResourceResolver; import org.apereo.inspektr.common.spi.PrincipalResolver; import java.util.Arrays; import java.util.Map; /** * This is {@link AuditTrailRecordResolutionPlan}. * * @aut...
__label__POS
0.981776
package org.apereo.cas.audit; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.AuthenticationResult; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.services.RegisteredService; import org.ap...
__label__POS
0.642364
package org.apereo.inspektr.audit; import org.apereo.inspektr.common.web.ClientInfo; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.RequiredArgsConstructor; import lombok.With; import java.io.Serial; import jav...
__label__POS
0.811863
package org.apereo.inspektr.audit.spi; import org.apereo.inspektr.audit.AuditTrailManager; import org.aspectj.lang.JoinPoint; /** * An SPI interface needed to be implemented by individual applications requiring an audit trail record keeping * functionality, to provide a current resource on which an audit-able actio...
__label__POS
0.885396
package org.apereo.inspektr.audit.spi; import org.apereo.inspektr.audit.annotation.Audit; import org.aspectj.lang.JoinPoint; /** * An SPI interface needed to be implemented by individual applications requiring an audit trail record keeping * functionality, to provide the action taken. * * @author Scott Battaglia ...
__label__POS
0.691527
package org.apereo.cas.ticket; import java.util.Collection; import java.util.Optional; /** * This is {@link TicketCatalog}. * * @author Misagh Moayyed * @since 5.1.0 */ public interface TicketCatalog { /** * Implementation bean name. */ String BEAN_NAME = "ticketCatalog"; /** * Regis...
__label__POS
0.997929
package org.apereo.cas.ticket; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.io.Serializable; import java.util.Map; /** * This is {@link PropertiesAwareTicket}. * * @author Misagh Moayyed * @since 7.0.0 */ @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS) public interface PropertiesAwareTicket exten...
__label__POS
0.982403
package org.apereo.cas.ticket; import org.apereo.cas.util.NamedObject; import com.google.errorprone.annotations.CanIgnoreReturnValue; /** * The {@link TicketFactory} is an abstraction that decides * how CAS ticket factory objects are created. * * @author Misagh Moayyed * @since 4.2 */ public interface TicketFac...
__label__POS
0.858724
package org.apereo.cas.ticket; import org.apereo.cas.authentication.principal.Service; import lombok.val; import org.apache.commons.lang3.Strings; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; /** * This is {@link TransientSessionTicketFactory}. * * @author Misagh Moayyed * @...
__label__POS
0.928364
package org.apereo.cas.ticket; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.principal.Service; /** * The {@link ServiceTicketFactory} is responsible for * creating instances of {@link ServiceTicket}. * * @author Misagh Moayyed * @since 4.2 */ public interface Service...
__label__POS
0.934331
package org.apereo.cas.ticket; import java.io.Serializable; import java.time.ZonedDateTime; /** * This is {@link ExpirableTicket}. * * @author Misagh Moayyed * @since 7.2.0 */ public interface ExpirableTicket extends Serializable { /** * Determines if the ticket is expired. Most common implementations ...
__label__POS
0.640822
package org.apereo.cas.ticket.serialization; import org.apereo.cas.ticket.Ticket; import org.apereo.cas.util.serialization.StringSerializer; /** * This is {@link TicketSerializationExecutionPlan}. * * @author Misagh Moayyed * @since 6.1.0 */ public interface TicketSerializationExecutionPlan { /** * Reg...
__label__POS
0.997696
package org.apereo.cas.ticket.tracking; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.ticket.Ticket; /** * This is {@link TicketTrackingPolicy}. * * @author Misagh Moayyed * @since 6.6.0 */ public interface TicketTrackingPolicy { /** * Tracking policy for service tickets....
__label__POS
0.978238
package org.apereo.cas.ticket.registry; import org.apereo.cas.ticket.EncodedTicket; import org.apereo.cas.ticket.Ticket; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.val; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import java.time...
__label__POS
0.964108
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.support.TriStateBoolean; import org.apereo.cas.util.MockRequestContext; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.core.Ordered; import static org.junit.jupiter.api.Assertions.*;...
__label__POS
0.945748
package org.apereo.cas.web.flow; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.util.MockRequestContext; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.HashMap; import java.util.List; import java.util.Map; import static org.junit.jupiter.api....
__label__POS
0.937462
url-prefix ../../jsreftest.html?test=e4x/Regress/ script regress-257679.js script regress-263934.js script regress-263935.js script regress-263936.js script regress-264369.js script regress-271545.js script regress-277650.js script regress-277664.js script regress-277683.js script regress-277779.js script regress-27793...
__label__POS
1.00001
package org.apereo.cas.web.flow; import org.apereo.cas.util.NamedObject; import org.springframework.core.Ordered; import org.springframework.webflow.execution.RequestContext; import java.util.Optional; /** * This is {@link CasWebflowLoginContextProvider}. * * @author Misagh Moayyed * @since 6.4.0 */ public inter...
__label__POS
0.993599
package org.apereo.cas.web.flow; import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.springframework.web.servlet.HandlerInterceptor; import java.util.Collection; /** * This is {@link CasWebflowExecutionPlan}. * * @author Misagh Moayyed * @since 5.3.0 */ public interface CasWebflowExecution...
__label__POS
0.995204
package org.apereo.cas.web.flow; import org.apereo.cas.CasProtocolConstants; import com.google.errorprone.annotations.CanIgnoreReturnValue; import lombok.Builder; import lombok.Getter; import lombok.experimental.SuperBuilder; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.springframework.w...
__label__POS
0.985365
package org.apereo.cas.web.flow; import org.apereo.cas.util.NamedObject; import org.springframework.binding.expression.Expression; import org.springframework.binding.mapping.Mapping; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.Ordered; import org.springframework.w...
__label__POS
0.979227
package org.apereo.cas.web.cookie; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.Setter; import lombok.ToString; import lombok.With; import lombok.experimental.Accessors; import lombok.experimental.SuperBuilder; import org.apache.commons.lang3.StringUtils; import java.io...
__label__POS
0.857516
package org.apereo.cas.web.cookie; import org.apereo.cas.authentication.RememberMeCredential; import jakarta.servlet.http.Cookie; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; /** * This is {@link CasCookieBuilder}. * * @author Misagh Moayyed * @since 6.1.0 */ ...
__label__POS
0.960199
package org.apereo.cas.web.cookie; import org.apereo.cas.multitenancy.TenantExtractor; import jakarta.servlet.http.Cookie; import jakarta.servlet.http.HttpServletRequest; import java.io.Serializable; /** * The {@link CookieValueManager} is responsible for * managing all cookies and their value structure for CAS. I...
__label__POS
0.98519
package org.apereo.cas; /** * Class that exposes relevant constants and parameters to * the CAS protocol. These include attribute names, pre-defined * values and expected request parameter names as is specified * by the protocol. * * @author Misagh Moayyed * @since 4.1.0 */ public interface CasProtocolConstant...
__label__POS
0.905936