Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 305 for Short1 (0.06 sec)

  1. internal/dsync/drwmutex_test.go

    			<-cdone
    		}
    	})
    }
    
    // Borrowed from rwmutex_test.go
    func TestRWMutex(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	n := 100
    	if testing.Short() {
    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    			}
    			opts.claims[k] = v
    		}
    	} else {
    		// We still need to ensure that the target user is a valid LDAP user.
    		//
    		// The target user may be supplied as a (short) username or a DN.
    		// However, for now, we only support using the short username.
    
    		isDN := globalIAMSys.LDAPConfig.ParsesAsDN(targetUser)
    		opts.claims[ldapUserN] = targetUser // simple username
    		var lookupResult *xldap.DNSearchResult
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        assertData(format("%04X", payload.completeSegmentByteCount()))
        assertData(payload.readByteString())
      }
    
      @Test fun serverMessageLengthLong() {
        // Create a payload which will overflow the normal and short payload byte size.
        val payload = Buffer()
        while (payload.completeSegmentByteCount() <= PAYLOAD_SHORT_MAX) {
          payload.writeByte('0'.code)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    		{"Cost Benefit Analysis (2009-2010).pptx", []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"SHØRT", []int{11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}},
    		{"There are far too many object names, and far too few bucket names!", []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            int val = this.buf[ this.index ] & 0xFF;
            advance(1);
            return val;
        }
    
    
        public void enc_ndr_short ( int s ) {
            align(2);
            Encdec.enc_uint16le((short) s, this.buf, this.index);
            advance(2);
        }
    
    
        public int dec_ndr_short () {
            align(2);
            int val = Encdec.dec_uint16le(this.buf, this.index);
            advance(2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  7. disabled-Jenkinsfile.s390x

            runITsTasks[stageId] = {
                node('s390x') {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
                        // on Windows, need a short path or we hit 256 character limit for paths
                        // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
                        // will not trample each other plus workaround for JENKINS-52657
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tests/scanner_valuer_test.go

    }
    
    type EncryptedData []byte
    
    func (data *EncryptedData) Scan(value interface{}) error {
    	if b, ok := value.([]byte); ok {
    		if len(b) < 3 || b[0] != '*' || b[1] != '*' || b[2] != '*' {
    			return errors.New("Too short")
    		}
    
    		*data = append((*data)[0:], b[3:]...)
    		return nil
    	} else if s, ok := value.(string); ok {
    		*data = []byte(s[3:])
    		return nil
    	}
    
    	return errors.New("Bytes expected")
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * expanded mask.  We do not try to detect or remove such cells,
       * under the assumption that for long-running instances, observed
       * contention levels will recur, so the cells will eventually be
       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top