Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 444 for advice (0.05 seconds)

  1. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/PacConstants.java

        int CLIENT_UPN_TYPE = 0xC;
        /**
         * Buffer type for client claims information.
         */
        int CLIENT_CLAIMS_TYPE = 0xD;
        /**
         * Buffer type for device information.
         */
        int DEVICE_INFO_TYPE = 0xE;
        /**
         * Buffer type for device claims information.
         */
        int DEVICE_CLAIMS_TYPE = 0xF;
    
        /**
         * Flag for extra SIDs in logon information.
         */
        int LOGON_EXTRA_SIDS = 0x20;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertThat(ticker.advance(10)).isSameInstanceAs(ticker);
        assertEquals(10, ticker.read());
        ticker.advance(1, MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            verify(mockDeferredBuffer, times(4)).enc_ndr_string(anyString());
    
            // Verify security descriptor encoding
            verify(mockDeferredBuffer).enc_ndr_long(2);
            verify(mockDeferredBuffer).advance(2);
            verify(mockDeferredBuffer).enc_ndr_small((byte) 1);
            verify(mockDeferredBuffer).enc_ndr_small((byte) 2);
        }
    
        @Test
        void testShareInfoCtr0EncodeWithArray() throws NdrException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. docs_src/stream_json_lines/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None
    
    
    items = [
        Item(name="Plumbus", description="A multi-purpose household device."),
        Item(name="Portal Gun", description="A portal opening device."),
        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    
    @app.get("/items/stream")
    async def stream_items() -> AsyncIterable[Item]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 936 bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        /**
         * Advances to the next file entry in the enumeration.
         *
         * @param last whether this is the last attempt to advance
         * @return the next file entry, or null if no more entries
         * @throws CIFSException if an error occurs during enumeration
         */
        protected final FileEntry advance(final boolean last) throws CIFSException {
            final FileEntry[] results = getResults();
            while (this.ridx < results.length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. docs_src/security/tutorial003_py310.py

            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "alice@example.com",
            "hashed_password": "fakehashedsecret2",
            "disabled": True,
        },
    }
    
    app = FastAPI()
    
    
    def fake_hash_password(password: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. regression-test/README.md

    Regression Test
    ===============
    
    A gradle module for running Regression tests on a device, emulator or JVM.
    
    1. Add an Emulator named `pixel5`, if you don't already have one
    
    ```
    $ sdkmanager --install "system-images;android-29;google_apis;x86"
    $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 2.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                when(mockBuffer.dec_ndr_small()).thenReturn(1);
                lenient().doNothing().when(mockBuffer).advance(anyInt());
                lenient().when(mockBuffer.align(anyInt())).thenReturn(0);
    
                // When
                bind.decode_out(mockBuffer);
    
                // Then
                verify(mockBuffer).advance(0); // Should advance 0 bytes
            }
        }
    
        @Nested
        @DisplayName("Static Method Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. 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);
                    }
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top