Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 773 for zeros (0.25 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        }
    
        @Test
        void testShareInfo0DecodeWithNonNullNetname() throws NdrException {
            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1); // non-zero pointer
            when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare");
    
            shareInfo0.decode(mockNdrBuffer);
    
            assertEquals("DecodedShare", shareInfo0.netname);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. docs/fr/docs/deployment/docker.md

    COPY ./app /app/app
    ```
    
    ### Raspberry Pi et autres architectures
    
    Si vous utilisez Docker sur un Raspberry Pi (qui a un processeur ARM) ou toute autre architecture, vous pouvez créer un `Dockerfile` à partir de zéro, basé sur une image de base Python (qui est multi-architecture) et utiliser Uvicorn seul.
    
    Dans ce cas, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM python:3.7
    
    RUN pip install fastapi uvicorn
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    	}
    	_, err := humanize.ParseBytes(*b.SmallerThan)
    	if err != nil {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  err.Error(),
    		}
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    }
    
    func (st *HTTPStats) addRequestsInQueue(i int32) {
    	atomic.AddInt32(&st.s3RequestsInQueue, i)
    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    // Converts http stats into struct to be sent back to the client.
    func (st *HTTPStats) toServerHTTPStats(toLowerKeys bool) ServerHTTPStats {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .headersDelay(500, TimeUnit.MILLISECONDS)
            .build(),
        )
        client =
          client
            .newBuilder()
            .readTimeout(Duration.ZERO)
            .writeTimeout(Duration.ZERO)
            .callTimeout(Duration.ofMillis(100))
            .build()
        newWebSocket()
        clientListener.assertFailure(InterruptedIOException::class.java, "timeout")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                resultField.setAccessible(true);
                assertEquals(result, resultField.get(bind), "Result should be set from decoded value");
            }
    
            @Test
            @DisplayName("decode_out should handle non-zero result codes")
            void testDecodeOutWithError() throws Exception {
                // Given
                int errorResult = 2;
                when(mockBuffer.dec_ndr_short()).thenReturn(2048, 2048, 5, errorResult, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Utf8.java

            if (index + 1 >= end) {
              return false;
            }
            int byte2 = bytes[index++];
            if (byte2 > (byte) 0xBF
                // Overlong? 5 most significant bits must not all be zero.
                || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0)
                // Check for illegal surrogate codepoints.
                || (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0)
                // Third byte trailing-byte test.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    
        @Test
        @DisplayName("Should return empty string for zero elements")
        void testJoinWithNoElements() {
            String result = StringUtil.join(",");
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle special characters in delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    	}, {
    		// The truncated test file was produced using these commands:
    		//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    		//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    		file: "testdata/writer-big.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

       * is fine with that.
       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
Back to top