Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,701 for converts (0.56 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TextUtil.java

            return path.replaceAll(Pattern.quote(File.separator), "/");
        }
    
        /**
         * Converts all line separators in the specified string to a single new line character.
         */
        public static String normaliseLineSeparators(String str) {
            return str == null ? null : convertLineSeparators(str, "\n");
        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. pkg/jwt/jwt.go

    	Envoy
    )
    
    // String converts JwksFetchMode to readable string.
    func (mode JwksFetchMode) String() string {
    	switch mode {
    	case Istiod:
    		return "Istiod"
    	case Hybrid:
    		return "Hybrid"
    	case Envoy:
    		return "Envoy"
    	default:
    		return "Unset"
    	}
    }
    
    // ConvertToJwksFetchMode converts from string value mode to enum JwksFetchMode value.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 00:53:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE
    
    class PosixFilePermissionConverterTest extends Specification {
        def "converts Set<PosixFilePermission to int representation"() {
    
            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

    }
    
    def ConvertFuncToBfloat16Pass : Pass<"stablehlo-convert-func-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert a StableHLO function to bfloat16";
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def ConvertXlaCallModuleOpToBfloat16Pass : Pass<"stablehlo-convert-xla-call-module-op-to-bfloat16", "mlir::func::FuncOp"> {
      let summary = "Convert serialized XlaCallModuleOp to bfloat16";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/database/sql/driver/types.go

    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", iv)
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		uv := sv.Uint()
    		if uv == 1 || uv == 0 {
    			return uv == 1, nil
    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", uv)
    	}
    
    	return nil, fmt.Errorf("sql/driver: couldn't convert %v (%T) into type bool", src, src)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crd/conversion.go

    		return nil, err
    	}
    	return status, nil
    }
    
    // FromYAML converts a canonical YAML to a proto message
    func FromYAML(s resource.Schema, yml string) (config.Spec, error) {
    	c, err := s.NewInstance()
    	if err != nil {
    		return nil, err
    	}
    	if err = config.ApplyYAML(c, yml); err != nil {
    		return nil, err
    	}
    	return c, nil
    }
    
    // FromJSONMap converts from a generic map to a proto message using canonical JSON encoding
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/cmd/gotraceraw/main.go

    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* text2bytes - converts a text format trace to bytes\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* bytes2text - converts a byte format trace to text\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    func main() {
    	flag.Parse()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/helpers_unsupported.go

    	MaxShares = 0
    
    	SharesPerCPU  = 0
    	MilliCPUToCPU = 0
    
    	QuotaPeriod    = 0
    	MinQuotaPeriod = 0
    )
    
    // MilliCPUToQuota converts milliCPU and period to CFS quota values.
    func MilliCPUToQuota(milliCPU, period int64) int64 {
    	return 0
    }
    
    // MilliCPUToShares converts the milliCPU to CFS shares.
    func MilliCPUToShares(milliCPU int64) int64 {
    	return 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/util/ipvs_linux.go

    		return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
    	}
    	runner.mu.Lock()
    	defer runner.mu.Unlock()
    	return runner.ipvsHandle.NewService(svc)
    }
    
    // UpdateVirtualServer is part of ipvs.Interface.
    func (runner *runner) UpdateVirtualServer(vs *VirtualServer) error {
    	svc, err := toIPVSService(vs)
    	if err != nil {
    		return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top