Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,370 for bread (0.02 sec)

  1. cmd/lock-rest-client.go

    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/bitrot.go

    	defer xioutil.ODirectPoolSmall.Put(bufp)
    
    	for left > 0 {
    		// Read expected hash...
    		h.Reset()
    		n, err := io.ReadFull(r, hashBuf)
    		if err != nil {
    			// Read's failed for object with right size, file is corrupt.
    			return err
    		}
    		// Subtract hash length..
    		left -= int64(n)
    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

                    0x05, 0x00 // totalAvailableEntries = 5
            };
    
            int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertEquals(8, bytesRead, "Should read 8 bytes for parameters.");
            assertEquals(0, response.status, "Status should be 0.");
            assertEquals(2, response.numEntries, "Number of entries should be 2.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * application. This may be smaller than the resource's byte count if were read to completion.
       *
       * This method is always invoked after [responseBodyStart].
       */
      open fun responseBodyEnd(
        call: Call,
        byteCount: Long,
      ) {
      }
    
      /**
       * Invoked when a response fails to be read.
       *
       * Note that response failures do not necessarily fail the entire call.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

        /**
         * Permission to read file attributes
         */
        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /**
         * Permission to write file attributes
         */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /**
         * Standard delete permission
         */
        int DELETE = 0x00010000; // 16
        /**
         * Permission to read the security descriptor
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          }
    
        /**
         * Attaches [tag] to the request using [T] as a key. Tags can be read from a request using
         * [Request.tag]. Use null to remove any existing tag assigned for [T].
         *
         * Use this API to attach timing, debugging, or other application data to a request so that
         * you may read it in interceptors, event listeners, or callbacks.
         */
        @JvmName("reifiedTag")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt4(500, buffer, 12); // free
            writeInt2(512, buffer, 16); // bytesPerSect
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(20, bytesRead, "Should read 20 bytes");
            assertNotNull(response.info, "Info object should not be null");
            assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertEquals(0, response.writeDataWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Should handle null buffer in read operations")
            void testReadOperationsWithNullBuffer() {
                // Read operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.readSetupWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] buffer = new byte[512];
            int written = originalPacket.writeWireFormat(buffer, 0);
    
            // Read from buffer
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
            SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
    
            // Skip header (already read by parent class)
            bais.skip(4);
            readPacket.type = buffer[0] & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

        /**
         * Test for the readSetupWireFormat method.
         * It should always return 0.
         */
        @Test
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[10];
            // The method should not read anything and return 0
            assertEquals(0, response.readSetupWireFormat(buffer, 0, 10), "readSetupWireFormat should return 0.");
        }
    
        /**
         * Test for the readParametersWireFormat method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top