Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 770 for NEXT (0.04 sec)

  1. src/archive/tar/tar_test.go

    		t.Fatalf("tw.Write: %v", err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatalf("tw.Close: %v", err)
    	}
    
    	// Read it back.
    	tr := NewReader(&b)
    	rHdr, err := tr.Next()
    	if err != nil {
    		t.Fatalf("tr.Next: %v", err)
    	}
    	if !reflect.DeepEqual(rHdr, hdr) {
    		t.Errorf("Header mismatch.\n got %+v\nwant %+v", rHdr, hdr)
    	}
    	rData, err := io.ReadAll(tr)
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. internal/ringbuffer/ring_buffer.go

    // and can be read back from another goroutine.
    // It is safe to concurrently read and write RingBuffer.
    type RingBuffer struct {
    	buf       []byte
    	size      int
    	r         int // next position to read
    	w         int // next position to write
    	isFull    bool
    	err       error
    	block     bool
    	mu        sync.Mutex
    	wg        sync.WaitGroup
    	readCond  *sync.Cond // Signaled when data has been read.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      public void testEntrySetIteratorRemove() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      public void testEntrySetIteratorRemove() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                 * or to the start of the entry containing the
                 * filename(e.g. NT). Ahhrg! In either case the
                 * lastNameOffset falls between the start of the
                 * entry and the next entry.
                 */
    
                if ( this.lastNameBufferIndex >= bufferIndex
                        && ( e.getNextEntryOffset() == 0 || this.lastNameBufferIndex < ( bufferIndex + e.getNextEntryOffset() ) ) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/mdo/paramdoc.mdo

                {
                    for ( java.util.Iterator it = expressions.iterator(); it.hasNext(); )
                    {
                        Expression expr = (Expression) it.next();
    
                        expressionsBySyntax.put( expr.getSyntax(), expr );
                    }
                }
            }
    
            return expressionsBySyntax;
        }
    
        public void flushExpressionsBySyntax()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. utils/utils.go

    	// the third caller usually from gorm internal
    	len := runtime.Callers(3, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/store/store.go

    		defer xioutil.SafeClose(keyCh)
    
    		retryTicker := time.NewTicker(retryInterval)
    		defer retryTicker.Stop()
    
    		for {
    			for _, key := range store.List() {
    				select {
    				case keyCh <- key:
    				// Get next key.
    				case <-doneCh:
    					return
    				}
    			}
    
    			select {
    			case <-retryTicker.C:
    			case <-doneCh:
    				return
    			}
    		}
    	}()
    
    	return keyCh
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
          assertFalse(iterator.hasNext());
          assertEquals(expectedOutput, simplifyPath(input));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top