Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2411 - 2420 of 6,573 for tstring (0.04 sec)

  1. cmd/sftp-server.go

    	}
    }
    
    func filterAlgos(arg string, want []string, allowed []string) []string {
    	var filteredAlgos []string
    	found := false
    	for _, algo := range want {
    		if len(algo) == 0 {
    			continue
    		}
    		for _, allowedAlgo := range allowed {
    			algo := strings.ToLower(strings.TrimSpace(algo))
    			if algo == allowedAlgo {
    				filteredAlgos = append(filteredAlgos, algo)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt_test.go

    }
    
    func TestKeycloakProviderInitialization(t *testing.T) {
    	testConfig := providerCfg{
    		DiscoveryDoc: DiscoveryDoc{
    			TokenEndpoint: "http://keycloak.test/token/endpoint",
    		},
    	}
    	testKvs := config.KVS{}
    	testKvs.Set(Vendor, "keycloak")
    	testKvs.Set(KeyCloakRealm, "TestRealm")
    	testKvs.Set(KeyCloakAdminURL, "http://keycloak.test/auth/admin")
    	cfgGet := func(param string) string {
    		return testKvs.Get(param)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsBoostDocumentRuleCB.java

        public BoostDocumentRuleCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsBoostDocumentRuleCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (BoostDocumentRuleCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsFileAuthenticationCB.java

        public FileAuthenticationCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsFileAuthenticationCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (FileAuthenticationCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsKeyMatchCB.java

        public KeyMatchCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsKeyMatchCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (KeyMatchCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsLabelTypeCB.java

        public LabelTypeCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsLabelTypeCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (LabelTypeCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsRequestHeaderCB.java

        public RequestHeaderCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsRequestHeaderCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (RequestHeaderCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. internal/handlers/proxy_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package handlers
    
    import (
    	"net/http"
    	"testing"
    )
    
    type headerTest struct {
    	key      string // header key
    	val      string // header val
    	expected string // expected result
    }
    
    func TestGetScheme(t *testing.T) {
    	headers := []headerTest{
    		{xForwardedProto, "https", "https"},
    		{xForwardedProto, "http", "http"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 19:25:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"用戶名": "\x00hello"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "用戶名": "\x00hello"},
    		formats: FormatPAX,
    	}, {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    	"io/fs"
    	"maps"
    	"os"
    	"path"
    	"slices"
    	"sort"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"testing/iotest"
    	"time"
    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    		uniqueB  = "+  "
    		identity = "   "
    	)
    	var ss []string
    	sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n")
    	sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n")
    	for len(sa) > 0 && len(sb) > 0 {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 40.2K bytes
    - Viewed (0)
Back to top