Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for mid2 (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbException.java

                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > NT_STATUS_CODES[mid] ) {
                        min = mid + 1;
                    } else if( errcode < NT_STATUS_CODES[mid] ) {
                        max = mid - 1;
                    } else {
                        return NT_STATUS_MESSAGES[mid];
                    }
                }
            } else {
                int min = 0;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/MultiChannelQueueTest.groovy

            def id2 = new ChannelIdentifier("channel2")
    
            expect:
            def channelQueue = queue.getChannel(id1)
            channelQueue == queue.getChannel(id1)
            channelQueue != queue.getChannel(id2)
        }
    
        def "adds channel queue when channel message added"() {
            def id1 = new ChannelIdentifier("channel1")
            def id2 = new ChannelIdentifier("channel2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcException.java

            while ( max >= min ) {
                int mid = ( min + max ) / 2;
    
                if ( errcode > DCERPC_FAULT_CODES[ mid ] ) {
                    min = mid + 1;
                }
                else if ( errcode < DCERPC_FAULT_CODES[ mid ] ) {
                    max = mid - 1;
                }
                else {
                    return DCERPC_FAULT_MESSAGES[ mid ];
                }
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go

    	"io/ioutil"
    	"os"
    	"reflect"
    	"testing"
    
    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    func TestTokenFile(t *testing.T) {
    	auth, err := newWithContents(t, `
    token1,user1,uid1
    token2,user2,uid2
    token3,user3,uid3,"group1,group2"
    token4,user4,uid4,"group2"
    token5,user5,uid5,group5
    token6,user6,uid6,group5,otherdata
    token7,user7,uid7,"group1,group2",otherdata
    `)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationListenerManagerTest.groovy

                start("2", id1),
                start("3", id1),
                start("1", id2),
                start("2", id2),
                start("3", id2),
                finished("3", id1),
                finished("2", id1),
                finished("1", id1),
                finished("3", id2),
                finished("2", id2),
                finished("1", id2),
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/ModuleForcingResolveRuleSpec.groovy

            where:
            requested                                            | forcedVersion
            newSelector(mid("org", "module2"), "0.9")            | "2.0"
            newSelector(mid("org", "module2"), "2.1")            | "2.0"
            newSelector(mid("org", "module:with:colon"), "2.0")  | "3.0"
            newSelector(mid("org:with:colon", "module2"), "5.0") | "4.0"
        }
    
        def "does not force modules if they dont match"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy

            mod1.pom.expectGet()
            mod1.artifact.expectGet()
    
            // Build 2 should download module 2 and reuse cached module 1 state
            mod2.pom.expectGet()
            mod2.artifact.expectGet()
    
            // Start build 1 then wait until it has run task 'a'.
            executer.withTasks("a", "block1", "b")
            executer.withArgument("--info")
            def build1 = executer.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/CompositeIdGeneratorTest.groovy

            def id = generator.generateId()
            def id2 = other.generateId()
    
            then:
            id != id2
    
            and:
            2 * target.generateId() >> 12
        }
    
        def compositeIdsAreEqualWhenOriginalIdsAreEqual() {
            when:
            def id = generator.generateId()
            def id2 = generator.generateId()
    
            then:
            id == id2
    
            and:
            2 * target.generateId() >> 12
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/internal/cpu/cpu_arm64_hwcap.go

    	// Without the CPUID bit the kernel will not trap the instruction and the
    	// process will be terminated with SIGILL.
    	if ARM64.HasCPUID {
    		midr := getMIDR()
    		part_num := uint16((midr >> 4) & 0xfff)
    		implementer := byte((midr >> 24) & 0xff)
    
    		// d0c - NeoverseN1
    		// d40 - NeoverseV1
    		// d49 - NeoverseN2
    		// d4f - NeoverseV2
    		if implementer == 'A' && (part_num == 0xd0c || part_num == 0xd40 ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. test/ken/divmod.go

    	var in2 int = -5
    	var id1 int = +3
    	var id2 int = -3
    
    	if in1/id1 != q1 || in1%id1 != r1 {
    		println("int-1", in1, id1, in1/id1, in1%id1)
    		panic("fail")
    	}
    	if in2/id1 != q2 || in2%id1 != r2 {
    		println("int-2", in2, id1, in2/id1, in2%id1)
    		panic("fail")
    	}
    	if in1/id2 != q3 || in1%id2 != r3 {
    		println("int-3", in1, id2, in1/id2, in1%id2)
    		panic("fail")
    	}
    	if in2/id2 != q4 || in2%id2 != r4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 5.1K bytes
    - Viewed (0)
Back to top