Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 261 for hyphen (0.11 sec)

  1. doc/go_mem.html

    <i>W</i>(<i>r</i>) must be a write <i>w</i> that is <i>visible</i> to <i>r</i>,
    where visible means that both of the following hold:
    </p>
    
    <ol>
    	<li><i>w</i> happens before <i>r</i>.</li>
    	<li><i>w</i> does not happen before any other write <i>w'</i> (to <i>x</i>) that happens before <i>r</i>.</li>
    </ol>
    
    <p>
    A <i>read-write data race</i> on memory location <i>x</i>
    consists of a read-like memory operation <i>r</i> on <i>x</i>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        assertThrows(IllegalArgumentException.class, () -> multiset.add(KEY, COUNT_TO_ADD));
      }
    
      /**
       * Simulate some of the races that can happen on add. We can't easily simulate the race that
       * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. internal/config/identity/plugin/config.go

    	case reqTimeMinute.Equal(h.currentMinute.statsTime):
    		entry = &h.currentMinute
    	case reqTimeMinute.Equal(h.lastFullMinute.statsTime):
    		entry = &h.lastFullMinute
    	default:
    		// This request is too old, it should never happen, ignore it as we
    		// cannot return an error.
    		return
    	}
    
    	// Update stats
    	if isSuccess {
    		if entry.maxRttMs < rttMs {
    			entry.maxRttMs = rttMs
    		}
    		entry.rttMsSum += rttMs
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeTest.java

      public void testContainsAll() {
        Range<Integer> range = Range.closed(3, 5);
        assertTrue(range.containsAll(asList(3, 3, 4, 5)));
        assertFalse(range.containsAll(asList(3, 3, 4, 5, 6)));
    
        // We happen to know that natural-order sorted sets use a different code
        // path, so we test that separately
        assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
        assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static ByteSource newNormalByteSource() {
        return ByteSource.wrap(new byte[10]);
      }
    
      private static ByteSink newNormalByteSink() {
        return new ByteSink() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    }
    
    // operand parses a general operand and stores the result in *a.
    func (p *Parser) operand(a *obj.Addr) {
    	//fmt.Printf("Operand: %v\n", p.input)
    	if len(p.input) == 0 {
    		p.errorf("empty operand: cannot happen")
    		return
    	}
    	// General address (with a few exceptions) looks like
    	//	$sym±offset(SB)(reg)(index*scale)
    	// Exceptions are:
    	//
    	//	R1
    	//	offset
    	//	$offset
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    		return x, nil
    	case []byte:
    		return string(x), nil
    	case bool:
    		return fmt.Sprintf("%v", x), nil
    	case nil:
    		// FIXME: verify this case is correct
    		return "NULL", nil
    	}
    	// This does not happen
    	return "", errCastFailure(fmt.Sprintf("cannot cast %v to string type", v.GetTypeString()))
    }
    
    func timestampCast(v *Value) (t time.Time, _ error) {
    	switch x := v.value.(type) {
    	case string:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    		},
    	}
    )
    
    // WriteOnCloser implements io.WriteCloser and always
    // executes at least one write operation if it is closed.
    //
    // This can be useful within the context of HTTP. At least
    // one write operation must happen to send the HTTP headers
    // to the peer.
    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          for (Object element : that) {
            if (!(element instanceof Long) || parent.array[i++] != (Long) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

                    if ( request != null ) {
                        request.setPath(dunc);
                    }
    
                    if ( !t.getShare().equals(dr.getShare()) ) {
                        // this should only happen for standalone roots or if the DC/domain root lookup failed
                        IOException last;
                        DfsReferralData start = dr;
                        do {
                            if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
Back to top