Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for res (0.12 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                MetadataGraph res = new MetadataGraph(vertices.size());
                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
                MetadataGraphVertex resEntry = res.addVertex(entry.getMd());
                res.setEntry(resEntry);
    
                res.setScope(requestedScope);
    
                for (MetadataGraphVertex v : vertices) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    		for _, remote := range m.Targets() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      int hashUtf8(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8));
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8Hasher(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    		res = append(res, fmt.Sprintf("Op: %v", m.Op))
    	}
    	res = append(res, fmt.Sprintf("Flags: %s", m.Flags.String()))
    	if len(m.Payload) != 0 {
    		res = append(res, fmt.Sprintf("Payload: %v", bytesOrLength(m.Payload)))
    	}
    	return "{" + strings.Join(res, ", ") + "}"
    }
    
    func (f Flags) String() string {
    	var res []string
    	if f&FlagCRCxxh3 != 0 {
    		res = append(res, "CRC")
    	}
    	if f&FlagEOF != 0 {
    		res = append(res, "EOF")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionResolver.java

                        return res.getExceptions();
                    }
    
                    @Override
                    public Version getVersion() {
                        return session.parseVersion(res.getVersion());
                    }
    
                    @Override
                    public Optional<Repository> getRepository() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 09:10:49 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            MetadataGraph res;
    
            res = resolver.resolveConflicts(graph, ArtifactScopeEnum.compile);
    
            assertNotNull(res, "null graph after resolver");
            assertNotNull(res.getVertices(), "no vertices in the resulting graph after resolver");
    
            assertNotNull(res.getExcidentEdges(v1), "no edges in the resulting graph after resolver");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/config.go

    	}
    
    	// For now, ldapConfigs will only have a single entry for the default
    	// configuration.
    
    	var res []madmin.IDPListItem
    	for _, cfg := range ldapConfigs {
    		res = append(res, madmin.IDPListItem{
    			Type:    "ldap",
    			Name:    cfg,
    			Enabled: l.Enabled(),
    		})
    	}
    
    	return res, nil
    }
    
    // ErrProviderConfigNotFound - represents a non-existing provider error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  8. misc/linkcheck/linkcheck.go

    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    		return nil
    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  9. bin/diff_yaml.py

            return res
        except KeyError as ke:
            if 'spec' in str(ke) or 'ports' in str(ke) or 'port' in str(ke):
                return res
    
            raise
    
    
    def normalize_res(res, args):
        if not res:
            return res
    
        if args.ignore_labels:
            drop_keys(res, "metadata", "labels")
    
        if args.ignore_namespace:
            drop_keys(res, "metadata", "namespace")
    
        res = normalize_ports(res)
    
    Python
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top