Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,615 for Parses (0.1 sec)

  1. pkg/controller/endpointslicemirroring/utils.go

    			Name:        &epp.Name,
    			Port:        &epp.Port,
    			Protocol:    &epp.Protocol,
    			AppProtocol: epp.AppProtocol,
    		})
    	}
    	return epsPorts
    }
    
    // getServiceFromDeleteAction parses a Service resource from a delete
    // action.
    func getServiceFromDeleteAction(obj interface{}) *corev1.Service {
    	if service, ok := obj.(*corev1.Service); ok {
    		return service
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_iptables_unspecified.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    type iptables struct{}
    
    func newIPTables() InterceptRuleMgr {
    	return &iptables{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 810 bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	}
    }
    
    // AdditionalHeader parses a single Additional ResourceHeader.
    func (p *Parser) AdditionalHeader() (ResourceHeader, error) {
    	return p.resourceHeader(sectionAdditionals)
    }
    
    // Additional parses a single Additional Resource.
    func (p *Parser) Additional() (Resource, error) {
    	return p.resource(sectionAdditionals)
    }
    
    // AllAdditionals parses all Additional Resources.
    func (p *Parser) AllAdditionals() ([]Resource, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParser.java

    package org.gradle.api.internal.artifacts.dsl;
    
    import org.gradle.api.capabilities.Capability;
    import org.gradle.internal.typeconversion.NotationParser;
    
    /**
     * A concrete type for a generic {@link NotationParser} that parses {@link Capability}s.
     * <p>
     * This concrete type is necessary so that it can be injected into version catalog generated sources.
     */
    public interface CapabilityNotationParser extends NotationParser<Object, Capability> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy

      def converter = new ProjectPropertiesCommandLineConverter();
    
      def convert(String... args) {
        converter.convert(Arrays.asList(args), new HashMap<String, String>()).sort()
      }
    
      def "parses project properties args"() {
        expect:
        convert("-Pa=b", "-Pc=d") == [a: "b", c: "d"]
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/CGroupMemoryInfoTest.groovy

    package org.gradle.process.internal.health.memory
    
    import spock.lang.Specification
    
    class CGroupMemoryInfoTest extends Specification {
        private static final long MB_IN_BYTES = 1024 * 1024 * 1024
    
        def "parses memory from cgroup values"() {
            def snapshot = new CGroupMemoryInfo().getOsSnapshotFromCgroup(mbsToBytesAsString(800), mbsToBytesAsString(1024))
    
            expect:
            snapshot.physicalMemory.total == mbsToBytes(1024)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go

    		} {
    			if demangled, err := demangle.ToString(name, o...); err == nil && r.MatchString(demangled) {
    				return []string{demangled}
    			}
    		}
    	}
    	return nil
    }
    
    // disassemble parses the output of the objdump command and returns
    // the assembly instructions in a slice.
    func disassemble(asm []byte) ([]plugin.Inst, error) {
    	buf := bytes.NewBuffer(asm)
    	function, file, line := "", "", 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. pkg/util/iptables/save_restore.go

    )
    
    // MakeChainLine return an iptables-save/restore formatted chain line given a Chain
    func MakeChainLine(chain Chain) string {
    	return fmt.Sprintf(":%s - [0:0]", chain)
    }
    
    // GetChainsFromTable parses iptables-save data to find the chains that are defined. It
    // assumes that save contains a single table's data, and returns a set with keys for every
    // chain defined in that table.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/html/template/template.go

    // such as
    //
    //	var t = template.Must(template.New("name").Parse("html"))
    func Must(t *Template, err error) *Template {
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // ParseFiles creates a new [Template] and parses the template definitions from
    // the named files. The returned template's name will have the (base) name and
    // (parsed) contents of the first file. There must be at least one file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top