Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,640 for results (0.05 sec)

  1. internal/auth/credentials_test.go

    		{alphaNumericTable[:accessKeyMinLen-1], false},
    	}
    
    	for i, testCase := range testCases {
    		result := IsAccessKeyValid(testCase.accessKey)
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestIsSecretKeyValid(t *testing.T) {
    	testCases := []struct {
    		secretKey      string
    		expectedResult bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
        public LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple3.java

        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            return result;
        }
    
        @Override
        public boolean equals(final Object obj) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. internal/config/policy/plugin/config.go

    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    
    	respBody := bytes.NewReader(opaRespBytes)
    
    	var result opaResult
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig_test.go

    		K8sServicePort:        k8sServicePort,
    		K8sServiceAccountPath: tmp,
    	}
    	// Write out a kubeconfig with one cert
    	result, err := createKubeConfig(cfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenFilepath := "testdata/kubeconfig-tls"
    	testutils.CompareContent(t, []byte(result.Full), goldenFilepath)
    
    	newk8sServiceHost := "50.76.2.1"
    	newCfg := &config.InstallConfig{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                RepositorySystemSession repositorySystemSession,
                MavenExecutionRequest request,
                MavenExecutionResult result) {
            this.container = null;
            this.request = requireNonNull(request);
            this.result = requireNonNull(result);
            this.settings = adaptSettings(request);
            this.repositorySystemSession = requireNonNull(repositorySystemSession);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      }
    
    internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
      var result: List<T> = emptyList()
      for (i in this) {
        if (predicate(i)) {
          if (result.isEmpty()) result = mutableListOf()
          (result as MutableList<T>).add(i)
        }
      }
      return result
    }
    
    internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}"
    
    internal fun checkOffsetAndCount(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        private static int dfsPathSplit ( String path, String[] result ) {
            int ri = 0, rlast = result.length - 1;
            int i = 0, b = 0, len = path.length();
            int strip = 0;
    
            do {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

        }
    
        @Override
        protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory")));
                result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
                result.setCity(DfTypeUtil.toString(source.get("city")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      val result = Buffer()
      var i = 0
      while (i < address.size) {
        if (i == longestRunOffset) {
          result.writeByte(':'.code)
          i += longestRunLength
          if (i == 16) result.writeByte(':'.code)
        } else {
          if (i > 0) result.writeByte(':'.code)
          val group = address[i] and 0xff shl 8 or (address[i + 1] and 0xff)
          result.writeHexadecimalUnsignedLong(group.toLong())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top