Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 463 for mark (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertThat(expected).hasMessageThat().isEqualTo("Mark not set");
      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not supported");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Java8Compatibility.java

      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Java8Compatibility.java

      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.equals(obj);
        }
    
        @Override
        public int hashCode() {
            return inputStream.hashCode();
        }
    
        @Override
        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        @Override
        public boolean markSupported() {
            return inputStream.markSupported();
        }
    
        @Override
        public int read() throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        /**
         * Mark a project as required and activated.
         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.ACTIVATION_REQUIRED));
        }
    
        /**
         * Mark a project as optional and activated.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. tests/test_param_include_in_schema.py

    }
    
    
    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == openapi_schema
    
    
    @pytest.mark.parametrize(
        "path,cookies,expected_status,expected_response",
        [
            (
                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    309B          ; disallowed_STD3_mapped ; 0020 3099     # 1.1  KATAKANA-HIRAGANA VOICED SOUND MARK
    309C          ; disallowed_STD3_mapped ; 0020 309A     # 1.1  KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK
    309D..309E    ; valid                                  # 1.1  HIRAGANA ITERATION MARK..HIRAGANA VOICED ITERATION MARK
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  8. internal/once/init.go

    		return l.do(f)
    	}
    	return nil
    }
    
    func (l *Init) do(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    }
    
    // DoWithContext is similar to Do except that it accepts a context as an argument to be passed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            try {
                fileInputStream.close();
            } finally {
                FileUtil.deleteInBackground(tempFile);
            }
        }
    
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        @Override
        public boolean markSupported() {
            return fileInputStream.markSupported();
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_async_tests/test_main.py

    import pytest
    
    from docs_src.async_tests.test_main import test_root
    
    
    @pytest.mark.anyio
    async def test_async_testing():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 06 15:32:11 UTC 2021
    - 143 bytes
    - Viewed (0)
Back to top