Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 532 for Dummy3 (0.1 sec)

  1. test/closedchan.go

    	return "(select)"
    }
    
    // indirect operations via larger selects
    var dummy = make(chan bool)
    
    type SSChan chan int
    
    func (c SSChan) Send(x int) {
    	select {
    	case c <- x:
    	case <-dummy:
    	}
    }
    
    func (c SSChan) Nbsend(x int) bool {
    	select {
    	default:
    		return false
    	case <-dummy:
    	case c <- x:
    		return true
    	}
    	panic("nbsend")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * tries to refer to our dummy serializer for the superclass,
     * ImmutableMultiset_CustomFieldSerializer. But that type has no methods (since it's never actually
     * used). We could probably fix the problem by adding dummy methods to that class, but that is
     * starting to sound harder than taking the superclass approach, which I've been coming to like,
     * anyway, since it doesn't require us to declare dummy methods (though occasionally constructors)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/empty-distMng-repo-url/pom.xml

      <groupId>org.apache.commons</groupId>
      <artifactId>commons-parent</artifactId>
      <packaging>pom</packaging>
      <version>11</version>
    
      <distributionManagement>
        <repository>
          <id>dummy</id>
          <name>Dummy to avoid accidental deploys</name>
          <url />
        </repository>
      </distributionManagement>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 29 05:20:38 UTC 2009
    - 373 bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/BuildTestFixture.groovy

            rootMulti.file("src/main/${language.name}/Dummy.${language.name}") << "public class Dummy {}"
            subprojects.each {
                rootMulti.file(it.replace(':' as char, File.separatorChar), "src/main/${language.name}/Dummy.${language.name}") << "public class Dummy {}"
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/netlink_linux.go

    		_, ok := err.(netlink.LinkNotFoundError)
    		if ok {
    			return nil
    		}
    		return fmt.Errorf("error deleting a non-exist dummy device: %s, %v", devName, err)
    	}
    	dummy, ok := link.(*netlink.Dummy)
    	if !ok {
    		return fmt.Errorf("expect dummy device, got device type: %s", link.Type())
    	}
    	return h.LinkDel(dummy)
    }
    
    // ListBindAddress will list all IP addresses which are bound in a given interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    template <typename T>
    class TypeIdHelper {
     public:
      // dummy_ must not have a const type.  Otherwise an overly eager
      // compiler (e.g. MSVC 7.1 & 8.0) may try to merge
      // TypeIdHelper<T>::dummy_ for different Ts as an "optimization".
      static bool dummy_;
    };
    
    template <typename T>
    bool TypeIdHelper<T>::dummy_ = false;
    
    // GetTypeId<T>() returns the ID of type T.  Different values will be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. test/nilptr.go

    var dummy [256 << 20]byte // give us a big address space
    
    func main() {
    	// the test only tests what we intend to test
    	// if dummy starts in the first 256 MB of memory.
    	// otherwise there might not be anything mapped
    	// at the address that might be accidentally
    	// dereferenced below.
    	if uintptr(unsafe.Pointer(&dummy)) > 256<<20 {
    		panic("dummy too far out")
    	}
    
    	shouldPanic(p1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/net/interface_linux_test.go

    		Args: []string{"ip", "link", "delete", ti.name, "type", "dummy"},
    	})
    	return nil
    }
    
    func (ti *testInterface) setLinkLocal(suffix int) error {
    	ti.name = fmt.Sprintf("gotest%d", suffix)
    	xname, err := exec.LookPath("ip")
    	if err != nil {
    		return err
    	}
    	ti.setupCmds = append(ti.setupCmds, &exec.Cmd{
    		Path: xname,
    		Args: []string{"ip", "link", "add", ti.name, "type", "dummy"},
    	})
    	ti.setupCmds = append(ti.setupCmds, &exec.Cmd{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 00:05:32 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work_init_gowork.txt

    ! exists foo/foo.work
    go work init
    exists foo/foo.work
    
    env GOWORK=
    cd foo/bar
    ! go work init
    stderr 'already exists'
    
    # Create directories to make go.work files in.
    -- foo/dummy.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 367 bytes
    - Viewed (0)
  10. src/mdo/model-version.vm

                                #set ( $fields = $LinkedHashSet.newInstance() )
                                #set ( $dummy = $classToFields.put( $class, $fields ) )
                            #end
                            #set( $dummy = $fields.add($field) )
                            #if ( $dummy )
                            #end
                        #end
                    #end
                #end
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Oct 16 13:44:33 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top