Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 344 for mypair (0.22 sec)

  1. test/typeparam/pair.go

    		panic(fmt.Sprintf("unexpected f2 size == %d, want %d", got, want))
    	}
    
    	type mypair struct {
    		f1 int32
    		f2 int64
    	}
    	mp := mypair(p)
    	if mp.f1 != 1 || mp.f2 != 2 {
    		panic(fmt.Sprintf("mp == %#v, want %#v", mp, mypair{1, 2}))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 739 bytes
    - Viewed (0)
  2. test/typeparam/pairimp.dir/main.go

    	"./a"
    	"fmt"
    	"unsafe"
    )
    
    func main() {
    	p := a.Pair[int32, int64]{1, 2}
    	if got, want := unsafe.Sizeof(p.Field1), uintptr(4); got != want {
    		panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want))
    	}
    	if got, want := unsafe.Sizeof(p.Field2), uintptr(8); got != want {
    		panic(fmt.Sprintf("unexpected f2 size == %d, want %d", got, want))
    	}
    
    	type mypair struct {
    		Field1 int32
    		Field2 int64
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 716 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/test-suite-plugin/kotlin/src/main/java/org/gradle/MyMain.java

     * limitations under the License.
     */
    
    package org.gradle;
    
    import java.lang.String;
    
    public class MyMain{
    
        public static void main(String... args){
            new MyMain().someMethod();
        }
    
        private void someMethod(){
            System.out.println("Some output from 'MyMain'");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 869 bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/controller/repair.go

    // map at the end of a single execution loop if no race is encountered.
    //
    // TODO: allocate new IPs if necessary
    // TODO: perform repair?
    type Repair struct {
    	interval      time.Duration
    	serviceClient corev1client.ServicesGetter
    
    	networkByFamily   map[v1.IPFamily]*net.IPNet                    // networks we operate on, by their family
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair.go

    // limitations under the License.
    
    package repair
    
    import (
    	"context"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/pkg/kube"
    )
    
    var repairLog = scopes.CNIAgent
    
    func StartRepair(ctx context.Context, cfg config.RepairConfig) {
    	if !cfg.Enabled {
    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPair.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.ntlmssp.av;
    
    
    /**
     * @author mbechler
     *
     */
    public class AvPair {
    
        /**
         * EOL type
         */
        public static final int MsvAvEOL = 0x0;
    
        /**
         * Flags type
         */
        public static final int MsvAvFlags = 0x6;
    
        /**
         * Timestamp type
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/jacoco-application/groovy/src/main/java/org/gradle/MyMain.java

    package org.gradle;
    
    import java.lang.String;
    
    public class MyMain{
    
        public static void main(String... args){
            new MyMain().someMethod();
        }
    
        private void someMethod(){
            System.out.println("Some output from 'MyMain'");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 252 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/jacoco-application/kotlin/src/main/java/org/gradle/MyMain.java

    package org.gradle;
    
    import java.lang.String;
    
    public class MyMain{
    
        public static void main(String... args){
            new MyMain().someMethod();
        }
    
        private void someMethod(){
            System.out.println("Some output from 'MyMain'");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 252 bytes
    - Viewed (0)
  9. pkg/registry/core/service/portallocator/controller/repair.go

    	eventBroadcaster := events.NewBroadcaster(&events.EventSinkImpl{Interface: eventClient})
    	recorder := eventBroadcaster.NewRecorder(legacyscheme.Scheme, "portallocator-repair-controller")
    
    	registerMetrics()
    
    	return &Repair{
    		interval:      interval,
    		serviceClient: serviceClient,
    		portRange:     portRange,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/test-suite-plugin/groovy/src/main/java/org/gradle/MyMain.java

     * limitations under the License.
     */
    
    package org.gradle;
    
    import java.lang.String;
    
    public class MyMain{
    
        public static void main(String... args){
            new MyMain().someMethod();
        }
    
        private void someMethod(){
            System.out.println("Some output from 'MyMain'");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 869 bytes
    - Viewed (0)
Back to top