Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 278 for advanced (0.04 sec)

  1. src/bufio/example_test.go

    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            this.delegate = delegate;
            this.filter = filter;
            this.next = advance();
        }
    
        /**
         * @return the parent
         */
        protected final SmbResource getParent() {
            return this.parent;
        }
    
        /**
         * @return
         *
         */
        private SmbResource advance() {
            while (this.delegate.hasNext()) {
                final FileEntry fe = this.delegate.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NetServerEnumIterator.java

                throw e;
            }
    
        }
    
        private FileEntry open() throws CIFSException {
            this.treeHandle.send(this.request, this.response);
            checkStatus();
            final FileEntry n = advance();
            if (n == null) {
                doClose();
            }
            return n;
        }
    
        /**
         * @throws SmbException
         */
        private void checkStatus() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                    _dst = _dst.deferred;
                    final int _arrays = this.count;
                    _dst.enc_ndr_long(_arrays);
                    final int _arrayi = _dst.index;
                    _dst.advance(4 * _arrays);
    
                    _dst = _dst.derive(_arrayi);
                    for (int _i = 0; _i < _arrays; _i++) {
                        this.array[_i].encode(_dst);
                    }
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            verify(mockNdrBuffer).advance(1 * 6); // domain_guid.node
    
            verify(mockNdrBuffer).enc_ndr_referent(dnsDomainInfo.sid, 1);
    
            verify(mockDeferredNdrBuffer, times(9)).enc_ndr_long(anyInt()); // 3 enc_ndr_long for each of 3 unicode strings
            verify(mockDeferredNdrBuffer, times(3)).enc_ndr_long(0);
            verify(mockDeferredNdrBuffer, times(3)).advance(anyInt());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  6. cmd/namespace-lock_test.go

    		}()
    		runtime.Gosched()
    
    		// unlock the manual lock
    		nsLk.lockMapMutex.Unlock()
    
    		// To trigger the race:
    		// 1) lk3 or lk4 need to advance and increment the ref on the existing resource,
    		//    successfully acquiring the lock.
    		// 2) lk2 then needs to advance and remove the resource from lockMap.
    		// 3) lk3 or lk4 (whichever didn't execute in step 1) then executes and creates
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcBind.java

            final int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            this.result = buf.dec_ndr_short();
            buf.dec_ndr_short();
            buf.advance(20); /* transfer syntax / version */
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            final int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            result = buf.dec_ndr_short();
            buf.dec_ndr_short();
            buf.advance(20); /* transfer syntax / version */
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/bufio/scan_test.go

    func TestErrAtEOF(t *testing.T) {
    	s := NewScanner(strings.NewReader("1 2 33"))
    	// This splitter will fail on last entry, after s.err==EOF.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = ScanWords(data, atEOF)
    		if len(token) > 1 {
    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        ticker.advance(1, MILLISECONDS);
        assertSame(one, cache.getUnchecked(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
        ticker.advance(1, MILLISECONDS);
        assertSame(two, cache.getUnchecked(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top