Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for sf (0.07 sec)

  1. cmd/batch-job-common-types.go

    // - sf.LowerBound < sz, when sf.LowerBound alone is specified
    // - sz < sf.UpperBound, when sf.UpperBound alone is specified
    // - sf.LowerBound < sz < sf.UpperBound when both are specified,
    func (sf BatchJobSizeFilter) InRange(sz int64) bool {
    	if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
    		return false
    	}
    
    	if sf.LowerBound > 0 && sz < int64(sf.LowerBound) {
    		return false
    	}
    	return true
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/condition_util.go

    func extract_bit(value, bit uint32) uint32 {
    	return (value >> bit) & 1
    }
    
    func bfxpreferred_4(sf, opc1, imms, immr uint32) bool {
    	if imms < immr {
    		return false
    	}
    	if (imms>>5 == sf) && (imms&0x1f == 0x1f) {
    		return false
    	}
    	if immr == 0 {
    		if sf == 0 && (imms == 7 || imms == 15) {
    			return false
    		}
    		if sf == 1 && opc1 == 0 && (imms == 7 ||
    			imms == 15 || imms == 31) {
    			return false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. test/typeparam/issue50417.go

    type A int
    type B int
    type C float64
    
    type Int interface {
    	*Sf | A
    	*Sf | B
    }
    
    func f5[P Int](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f5[*Sf]
    
    type Int2 interface {
    	*Sf | A
    	any
    	*Sf | C
    }
    
    func f6[P Int2](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f6[*Sf]
    
    type Int3 interface {
    	Sf
    	~struct{ f int }
    }
    
    func f7[P Int3](p P) {
    	_ = p.f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/read.go

    	return sf.d.stringAt(sf.pos + sourceFilePkgName)
    }
    func (sf *sourceFile) ignoreFile() bool {
    	return sf.d.boolAt(sf.pos + sourceFileIgnoreFile)
    }
    func (sf *sourceFile) binaryOnly() bool {
    	return sf.d.boolAt(sf.pos + sourceFileBinaryOnly)
    }
    func (sf *sourceFile) cgoDirectives() string {
    	return sf.d.stringAt(sf.pos + sourceFileCgoDirectives)
    }
    func (sf *sourceFile) goBuildConstraint() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue50417.go

    package p
    
    type Sf struct {
            f int
    }
    
    func f0[P Sf](p P) {
            _ = p.f // ERROR "p.f undefined"
            p.f /* ERROR "p.f undefined" */ = 0
    }
    
    func f0t[P ~struct{f int}](p P) {
            _ = p.f // ERROR "p.f undefined"
            p.f /* ERROR "p.f undefined" */ = 0
    }
    
    var _ = f0[Sf]
    var _ = f0t[Sf]
    
    var _ = f0[Sm /* ERROR "does not satisfy" */ ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/pmd-rules.xml

    <?xml version="1.0"?>
    <ruleset name="Custom ruleset"
        xmlns="http://pmd.sf.net/ruleset/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
        xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
      <description>
      This ruleset checks my code for bad stuff
      </description>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/pmd-rules.xml

    <?xml version="1.0"?>
    <ruleset name="Custom ruleset"
        xmlns="http://pmd.sf.net/ruleset/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
        xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
      <description>
      This ruleset checks my code for bad stuff
      </description>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	cs := &fake.Clientset{}
    	sf := informers.NewSharedInformerFactory(cs, time.Duration(1)*time.Second)
    	target := initializer.New(cs, nil, sf, &TestAuthorizer{}, nil, nil, nil)
    	wantExternalKubeInformerFactory := &WantExternalKubeInformerFactory{}
    	target.Initialize(wantExternalKubeInformerFactory)
    	if wantExternalKubeInformerFactory.sf != sf {
    		t.Errorf("expected informer factory to be initialized")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/runtime/symtabinl_test.go

    			}
    
    			sf := u.srcFunc(uf)
    
    			name := sf.name()
    			const namePrefix = "runtime."
    			if stringslite.HasPrefix(name, namePrefix) {
    				name = name[len(namePrefix):]
    			}
    			if !stringslite.HasPrefix(name, "tiu") {
    				t.Errorf("tiuTest+%#x: unexpected function %s", pc-pc1, name)
    			}
    
    			start := int(sf.startLine) - tiuStart
    			if start != wantStart[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. cluster/images/etcd/migrate/copy_file.go

    */
    
    package main
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    )
    
    func copyFile(source, dest string) error {
    	sf, err := os.Open(source)
    	if err != nil {
    		return fmt.Errorf("unable to open source file [%s]: %q", source, err)
    	}
    	defer sf.Close()
    	fi, err := sf.Stat()
    	if err != nil {
    		return fmt.Errorf("unable to stat source file [%s]: %q", source, err)
    	}
    
    	dir := filepath.Dir(dest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 22 18:45:58 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top